Class: EasterEntry

EasterEntry()

Entry positioned a fixed number of days from Easter Sunday, which moves every year. Covers the moveable feasts (Ash Wednesday, Good Friday, Pentecost) in both the Gregorian (Western) and Julian (Orthodox) reckonings. Example: `Good Friday,easter-2` / `Orthodox Easter,orthodox-easter+0`

Constructor

new EasterEntry()

Source:

Classes

EasterEntry

Methods

getDateFor(year)

Gets this entry's date in a given year.
Parameters:
Name Type Description
year The year to compute for
Source:
Returns:
The date, Easter plus this entry's offset

(static) computeEaster(year, calendar)

Computes Easter Sunday, as a date in the Gregorian calendar. The Gregorian branch is the anonymous Meeus/Jones/Butcher algorithm. The Julian branch computes Orthodox Easter on the Julian calendar and then shifts it onto the Gregorian calendar by the offset for that century.
Parameters:
Name Type Default Description
year The year to compute for
calendar gregorian Which reckoning to use (default: gregorian)
Source:
Returns:
Easter Sunday for that year