Class EightChar
java.lang.Object
org.miaixz.bus.core.center.date.culture.Tradition
org.miaixz.bus.core.center.date.culture.cn.birth.EightChar
八字
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SixtyCycle日柱protected SixtyCycle时柱protected SixtyCycle月柱protected SixtyCycle年柱 -
Constructor Summary
ConstructorsConstructorDescription初始化EightChar(SixtyCycle year, SixtyCycle month, SixtyCycle day, SixtyCycle hour) 初始化 -
Method Summary
Methods inherited from class org.miaixz.bus.core.center.date.culture.Tradition
equals, indexOf, toString
-
Field Details
-
year
年柱 -
month
月柱 -
day
日柱 -
hour
时柱
-
-
Constructor Details
-
EightChar
初始化- Parameters:
year- 年柱month- 月柱day- 日柱hour- 时柱
-
EightChar
初始化- Parameters:
year- 年柱month- 月柱day- 日柱hour- 时柱
-
-
Method Details
-
getYear
年柱- Returns:
- 年柱
-
getMonth
月柱- Returns:
- 月柱
-
getDay
日柱- Returns:
- 日柱
-
getHour
时柱- Returns:
- 时柱
-
getFetalOrigin
胎元- Returns:
- 胎元
-
getFetalBreath
胎息- Returns:
- 胎息
-
getOwnSign
命宫- Returns:
- 命宫
-
getBodySign
身宫- Returns:
- 身宫
-
getDuty
建除十二值神- Returns:
- 建除十二值神
-
getSolarTimes
公历时刻列表- Parameters:
startYear- 开始年(含),支持1-9999年endYear- 结束年(含),支持1-9999年- Returns:
- 公历时刻列表
-
getName
Description copied from interface:Almanac名称- Returns:
- 名称
-