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