Package org.aoju.bus.core.date
Class Taoist
java.lang.Object
org.aoju.bus.core.date.Taoist
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Taoistfrom(int year, int month, int day, int hour, int minute, int second) static Taoiststatic TaoistfromYmd(int year, int month, int day) intgetDay()getLunar()intgetMonth()intgetYear()boolean是否暗戊日boolean是否八会日boolean是否八节日boolean是否明戊日boolean是否三会日boolean是否三元日boolean是否天赦日booleanisDayWu()是否戊日boolean是否五腊日toString()
-
Field Details
-
BIRTH_YEAR
public static final int BIRTH_YEAR- See Also:
-
SAN_HUI
三会日 -
SAN_YUAN
三元日 -
WU_LA
五腊日 -
AN_WU
暗戊 -
FESTIVAL
日期对应的节日 -
BA_HUI
-
BA_JIE
-
-
Constructor Details
-
Taoist
-
-
Method Details
-
from
-
from
-
fromYmd
-
getLunar
-
getYear
public int getYear() -
getMonth
public int getMonth() -
getDay
public int getDay() -
getYearInChinese
-
getMonthInChinese
-
getDayInChinese
-
getFestivals
-
isDaySanHui
public boolean isDaySanHui()是否三会日- Returns:
- true/false
-
isDaySanYuan
public boolean isDaySanYuan()是否三元日- Returns:
- true/false
-
isDayBaJie
public boolean isDayBaJie()是否八节日- Returns:
- true/false
-
isDayWuLa
public boolean isDayWuLa()是否五腊日- Returns:
- true/false
-
isDayBaHui
public boolean isDayBaHui()是否八会日- Returns:
- true/false
-
isDayMingWu
public boolean isDayMingWu()是否明戊日- Returns:
- true/false
-
isDayAnWu
public boolean isDayAnWu()是否暗戊日- Returns:
- true/false
-
isDayWu
public boolean isDayWu()是否戊日- Returns:
- true/false
-
isDayTianShe
public boolean isDayTianShe()是否天赦日- Returns:
- true/false
-
toString
-
toFullString
-