java.lang.Object
org.holiday.calendar.observance.AbstractObservance
org.holiday.calendar.observance.ca.Thanksgiving
Observance of Thanksgiving - a day to give thanks for the things one has at
the close of the harvest season. This national holiday is observed on the
second Monday in October.
Note that this public holiday is similar to, but distinct from, the holiday of the same name in the United States.
- 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
-
Thanksgiving
public Thanksgiving()
-
-
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
-