public class ChildLimit extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected EightChar |
eightChar
八字
|
protected boolean |
forward
顺逆
|
protected Gender |
gender
性别
|
protected ChildLimitInfo |
info
童限信息
|
static ChildLimitProvider |
provider
童限计算接口
|
| 构造器和说明 |
|---|
ChildLimit(SolarTime birthTime,
Gender gender) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ChildLimit |
fromSolarTime(SolarTime birthTime,
Gender gender)
通过出生公历时刻初始化
|
int |
getDayCount()
日数
|
DecadeFortune |
getDecadeFortune()
所属大运
|
EightChar |
getEightChar()
八字
|
int |
getEndAge()
结束年龄
|
LunarYear |
getEndLunarYear()
已过时。
|
SixtyCycleYear |
getEndSixtyCycleYear()
结束(即起运)干支年
|
SolarTime |
getEndTime()
结束(即开始起运)的公历时刻
|
Gender |
getGender()
性别
|
int |
getHourCount()
小时数
|
int |
getMinuteCount()
分钟数
|
int |
getMonthCount()
月数
|
int |
getStartAge()
开始年龄
|
DecadeFortune |
getStartDecadeFortune()
起运大运
|
Fortune |
getStartFortune()
小运
|
SixtyCycleYear |
getStartSixtyCycleYear()
开始(即出生)干支年
|
SolarTime |
getStartTime()
开始(即出生)的公历时刻
|
int |
getYearCount()
年数
|
boolean |
isForward()
是否顺推
|
public static ChildLimitProvider provider
protected EightChar eightChar
protected Gender gender
protected boolean forward
protected ChildLimitInfo info
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 DecadeFortune getDecadeFortune()
public Fortune getStartFortune()
@Deprecated public LunarYear getEndLunarYear()
getEndSixtyCycleYear()public SixtyCycleYear getStartSixtyCycleYear()
public SixtyCycleYear getEndSixtyCycleYear()
public int getStartAge()
public int getEndAge()
Copyright © 2025. All Rights Reserved.