NHolidayJp class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
create(int year)
→ List<Holiday>
-
-
getByMonth(int year, int month)
→ List<Holiday>
-
年
year
月month
の祝日の一覧を取得
-
getByYear(int year)
→ List<Holiday>
-
年
year
の祝日(国民の祝日、振替休日、国民の休日)の一覧を取得
-
getDateByTurn(int year, int month, int turn)
→ int
-
ハッピーマンデーの日を取得
-
getEquinox(int year, String type)
→ int
-
春分の日または秋分の日の日を取得
-
getFurikae(List<Holiday> holidays, Holiday holiday, int year)
→ Holiday?
-
振替休日を取得
holiday
が日曜でないか施行日以前ならnull
-
getKokuminNoKyuujitsu(List<Holiday> holidays, Holiday holiday, int year, List<Holiday> furikaeList)
→ Holiday?
-
国民の休日を取得
翌日が平日(国民の祝日でも振替休日でも日曜でもない)かつ翌々日が国民の祝日
翌日が国民の休日でないか施行日以前ならnull
-
getName(int year, int month, int date)
→ String
-
年
year
月month
日date
の日付が祝日ならその名称を取得
祝日でないならnull