Holidays.DateCalculator.Easter (Holidays v0.4.0)
View SourceSummary
Functions
Returns the date of Easter for the given year
Returns the date of Orthodox Easter in the given year
Functions
Returns the date of Easter for the given year
Examples
iex> Holidays.DateCalculator.Easter.gregorian_easter_for(2016)
~D[2016-03-27]
iex> Holidays.DateCalculator.Easter.gregorian_easter_for(2015)
~D[2015-04-05]
Returns the date of Orthodox Easter in the given year
Examples
iex> Holidays.DateCalculator.Easter.gregorian_orthodox_easter_for(2016)
~D[2016-05-01]
iex> Holidays.DateCalculator.Easter.gregorian_orthodox_easter_for(1815)
~D[1815-04-30]
iex> Holidays.DateCalculator.Easter.gregorian_orthodox_easter_for(2101)
~D[2101-04-24]