java.lang.Object
org.holiday.calendar.observance.AbstractObservance
org.holiday.calendar.observance.ca.CivicHoliday
Observance of Civic Holiday - public holiday in Canada celebrated on the
first Monday in August. The word civic is in reference to
municipalities (such as cities, towns, etc.), as this day is not
legislatively mandated as a public holiday across the country by the Canadian
federal government.
- 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
-
CivicHoliday
public CivicHoliday()
-
-
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
-