akheron/elm-easter/1.0.1

NOTE: this package is not compatible with Elm 0.19.1

Easter

This library makes it easy to compute the date of Easter for any given year.

= Julian
| Orthodox
| Western

There are three different algorithms for computing the Easter date. The Western algorithm is the most widely used nowadays.

easter : EasterMethod -> Int -> Date

Compute the Easter date for the given method and year

easter Western 2017  -- 2017-04-16
easter Orthodox 1416  -- 1416-04-29