java.lang.Object
org.holiday.calendar.observance.us.Thanksgiving
Observance of Thanksgiving - a day to give thanks for the things one has at
the close of the harvest season. This federal holiday is observed on the
fourth Thursday in November. Proclaimed a national holiday by President
Abraham Lincoln in 1863, it was originally declared for the last
Thursday in November.
Note that this public holiday is similar to, but distinct from, the holiday of the same name in Canada.
- Author:
- Dave Joyce
-
Constructor Details
-
Thanksgiving
public Thanksgiving()
-
-
Method Details
-
apply
-
test
Description copied from interface:ObservanceDetermines whether this observance applies to the specified year.- Specified by:
testin interfaceObservance- Specified by:
testin interfacePredicate<Integer>- Parameters:
year- year of potential observance- Returns:
- true if the input year applies for this observance, otherwise false
-