Class LunarFestival
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.LunarFestival
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Stringprotected LunarDay农历日protected int索引protected String名称static final String[]protected SolarTerms节气protected EnumValue.Festival类型 -
Constructor Summary
ConstructorsConstructorDescriptionLunarFestival(EnumValue.Festival type, LunarDay day, SolarTerms solarTerms, String data) -
Method Summary
Modifier and TypeMethodDescriptionstatic LunarFestivalfromIndex(int year, int index) static LunarFestivalfromYmd(int year, int month, int day) getDay()农历日intgetIndex()索引getName()名称节气,非节气返回nullgetType()类型next(int n) 推移toString()
-
Field Details
-
NAMES
-
DATA
-
type
类型 -
index
protected int index索引 -
day
农历日 -
solarTerms
节气 -
name
名称
-
-
Constructor Details
-
LunarFestival
-
-
Method Details
-
fromIndex
-
fromYmd
-
next
-
getType
-
getIndex
public int getIndex()索引- Returns:
- 索引
-
getDay
-
getSolarTerm
-
getName
-
toString
-