Class LunarYear
java.lang.Object
org.miaixz.bus.core.center.date.culture.Tradition
org.miaixz.bus.core.center.date.culture.Loops
org.miaixz.bus.core.center.date.culture.lunar.LunarYear
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LEAP
-
year
protected int year年
-
-
Constructor Details
-
LunarYear
public LunarYear(int year)
-
-
Method Details
-
fromYear
-
getYear
public int getYear()年- Returns:
- 年
-
getMonthCount
public int getMonthCount()月数- Returns:
- 月数
-
getDayCount
public int getDayCount()天数- Returns:
- 天数
-
getName
依据国家标准《农历的编算和颁行》GB/T 33661-2017,农历年有2种命名方法:干支纪年法和生肖纪年法,这里默认采用干支纪年法。- Returns:
- 名称
-
next
-
getLeapMonth
public int getLeapMonth()闰月- Returns:
- 闰月数字,1代表闰1月,0代表无闰月
-
getSixtyCycle
-
getTwenty
-
getNineStar
-
getJupiterDirection
-
getMonths
-