Module org.holiday.calendar.western
Class CorpusChristi
java.lang.Object
org.holiday.calendar.observance.AbstractObservance
org.holiday.calendar.observance.CompositeObservance
org.holiday.calendar.observance.christian.CorpusChristi
Observance of the Feast of Corpus Christi, a liturgical solemnity celebrated
in the Roman Catholic, Anglican, and Western Orthodox churches. The holiday
is celebrated on the Thursday 60 days after Easter, or on the following
Sunday.
- Author:
- Dave Joyce
-
Field Summary
Fields inherited from class org.holiday.calendar.observance.CompositeObservance
base -
Constructor Summary
ConstructorsConstructorDescriptionCorpusChristi(EasterObservance easterObservance) CorpusChristi(EasterObservance easterObservance, boolean adjustToSunday) -
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.CompositeObservance
isValidYearMethods inherited from class org.holiday.calendar.observance.AbstractObservance
apply, test
-
Constructor Details
-
CorpusChristi
-
CorpusChristi
-
-
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
-