holidays v0.1.1 Holidays.DateCalculator.Easter
Summary
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)
{2016, 3, 27}
iex> Holidays.DateCalculator.Easter.gregorian_easter_for(2015)
{2015, 4, 5}
Returns the date of Orthodox Easter in the given year
Examples
iex> Holidays.DateCalculator.Easter.gregorian_orthodox_easter_for(2016)
{2016, 5, 1}
iex> Holidays.DateCalculator.Easter.gregorian_orthodox_easter_for(1815)
{1815, 4, 30}
iex> Holidays.DateCalculator.Easter.gregorian_orthodox_easter_for(2101)
{2101, 4, 24}