Module org.holiday.calendar.apac
Class QingmingFestival
java.lang.Object
org.holiday.calendar.observance.AbstractObservance
org.holiday.calendar.observance.lunar.QingmingFestival
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. It occurs on 4 or 5 April in the Gregorian calendar.
The date is computed via Time4J's ChineseCalendar.ofQingMing(year),
which applies the SolarTerm.MINOR_03_QINGMING_015.sinceLichun() operator
using precise astronomical solar-longitude calculations.
- 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
-
QingmingFestival
public QingmingFestival()
-
-
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
-