/elm-easter

Compute the date of Easter for any given year

Primary LanguageElmMIT LicenseMIT

elm-easter

Status of direct dependencies Latest Elm version supported License of the package Latest version of the package

elm-easter is a pure Elm library for computing the date of Easter for any given year, using Western, Orthodox or Julian algorithms.

Example

-- Easter in year 2017, according to Western (most common) algorithm
easter Western 2017  -- 2017-04-16

-- Easter in year 1416, according to the Orthodox algorithm
easter Orthodox 1416  -- 1416-04-29

See the akheron/elm-easter package for full documentation.

Development

Run the test suite:

elm-test