Module org.holiday.calendar.apac
Class MidAutumnFestival
java.lang.Object
org.holiday.calendar.observance.AbstractObservance
org.holiday.calendar.observance.lunar.MidAutumnFestival
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.
The date is computed algorithmically via Time4J's ChineseCalendar,
using the Chinese year that begins in the given Gregorian year.
- Author:
- Dave Joyce
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LocalDatecomputeDate(int year) Compute the date for this observance in the given year.Methods inherited from class org.holiday.calendar.observance.AbstractObservance
apply, isValidYear, test
-
Constructor Details
-
MidAutumnFestival
public MidAutumnFestival()
-
-
Method Details
-
computeDate
Description copied from class:AbstractObservanceCompute the date for this observance in the given year. Only called whenAbstractObservance.isValidYear(int)returnstrue.- Specified by:
computeDatein classAbstractObservance- Parameters:
year- the year for which to compute the date- Returns:
- computed holiday date
-