public class Fortune extends AbstractTyme
| 限定符和类型 | 字段和说明 |
|---|---|
protected ChildLimit |
childLimit
童限
|
protected int |
index
序号
|
| 构造器和说明 |
|---|
Fortune(ChildLimit childLimit,
int index) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Fortune |
fromChildLimit(ChildLimit childLimit,
int index)
通过童限初始化
|
int |
getAge()
年龄
|
LunarYear |
getLunarYear()
已过时。
|
String |
getName()
名称
|
SixtyCycle |
getSixtyCycle()
干支
|
SixtyCycleYear |
getSixtyCycleYear()
干支年
|
Fortune |
next(int n)
推移
|
equals, indexOf, toStringprotected ChildLimit childLimit
protected int index
public Fortune(ChildLimit childLimit, int index)
public static Fortune fromChildLimit(ChildLimit childLimit, int index)
childLimit - 童限index - 序号public int getAge()
@Deprecated public LunarYear getLunarYear()
getSixtyCycleYear()public SixtyCycleYear getSixtyCycleYear()
public SixtyCycle getSixtyCycle()
Copyright © 2025. All Rights Reserved.