public class ChildLimit extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
dayCount
日数
|
protected EightChar |
eightChar
八字
|
protected SolarTime |
endTime
结束(即开始起运)的公历时刻
|
protected boolean |
forward
顺逆
|
protected Gender |
gender
性别
|
protected int |
hourCount
小时数
|
protected int |
minuteCount
分钟数
|
protected int |
monthCount
月数
|
protected SolarTime |
startTime
开始(即出生)的公历时刻
|
protected int |
yearCount
年数
|
| 限定符 | 构造器和说明 |
|---|---|
protected |
ChildLimit(SolarTime birthTime,
Gender gender) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ChildLimit |
fromSolarTime(SolarTime birthTime,
Gender gender)
通过出生公历时刻初始化
|
int |
getDayCount()
日数
|
EightChar |
getEightChar()
八字
|
SolarTime |
getEndTime()
结束(即开始起运)的公历时刻
|
Gender |
getGender()
性别
|
int |
getHourCount()
小时数
|
int |
getMinuteCount()
分钟数
|
int |
getMonthCount()
月数
|
DecadeFortune |
getStartDecadeFortune()
大运
|
Fortune |
getStartFortune()
小运
|
SolarTime |
getStartTime()
开始(即出生)的公历时刻
|
int |
getYearCount()
年数
|
boolean |
isForward()
是否顺推
|
protected SolarTime startTime
protected SolarTime endTime
protected EightChar eightChar
protected Gender gender
protected int yearCount
protected int monthCount
protected int dayCount
protected int hourCount
protected int minuteCount
protected boolean forward
public static ChildLimit fromSolarTime(SolarTime birthTime, Gender gender)
birthTime - 出生公历时刻gender - 性别public EightChar getEightChar()
public Gender getGender()
public boolean isForward()
public int getYearCount()
public int getMonthCount()
public int getDayCount()
public int getHourCount()
public int getMinuteCount()
public SolarTime getStartTime()
public SolarTime getEndTime()
public DecadeFortune getStartDecadeFortune()
public Fortune getStartFortune()
Copyright © 2024. All Rights Reserved.