Module org.holiday.calendar.apac
Package org.holiday.calendar.observance.lunar
package org.holiday.calendar.observance.lunar
Implementations of
Observance for
Chinese lunisolar-calendar holidays: Chinese New Year (
ChineseNewYearDay parameterized
by day number 1–7, plus the convenience
ChineseNewYearFirstDay and
ChineseNewYearSecondDay),
QingmingFestival,
DragonBoatFestival,
MidAutumnFestival, and
VesakDay.
Chinese New Year's Day is computed algorithmically via Time4J's
net.time4j.calendar.ChineseCalendar; other festivals in this
package are similarly computed from the underlying lunisolar calendar
rather than lookup tables:
Observance cnyDay1 = new ChineseNewYearFirstDay();
Observance cnyDay3 = new ChineseNewYearDay(3);
- Author:
- Dave Joyce
-
ClassesClassDescriptionObservance of a specific day within the Chinese New Year (Spring Festival) holiday window, numbered from Day 1 (the first day of the first lunar month) through Day 7.Observance of Chinese New Year (first day), also known as Lunar New Year.Observance of Chinese New Year (second day), the day following the first day of the Chinese lunisolar new year.Observance of Dragon Boat Festival (端午节, Duanwu), which falls on the 5th day of the 5th month of the Chinese lunisolar calendar.Observance of Mid-Autumn Festival (中秋节), which falls on the 15th day of the 8th month of the Chinese lunisolar calendar — the full moon of autumn.Observance of Qingming Festival (清明, Tomb Sweeping Day), which falls on the solar term at ecliptic longitude 15° — the 5th of the 24 Chinese solar terms.Observance of Vesak Day (also known as Buddha's Birthday), commemorating the birth, enlightenment, and death of Gautama Buddha.