This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
1.0.0
a pure Elm library for computing French holidays for a given year.
version 1.0.0
license MIT
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.1
Committed At 2018-04-09 12:36:14 UTC
justinmimbs/elm-date-extra 3.0.0 <= v < 4.0.0 3.0.0
elm-lang/core 5.1.1 <= v < 6.0.0 5.1.1
akheron/elm-easter 1.0.1 <= v < 2.0.0 1.0.1

README

elm-workalendar

elm-workalendar is a pure Elm library for computing French holidays for a given year.

For now it only supports FrenchHolidays.

Based on the workalendar Python lib.

Example

-- Holidays for 2017
offdays 2017 ==
    [ ( Date.fromParts 2017 Jan 1 0 0 0 0, "New Year" )
    , ( Date.fromParts 2017 Apr 17 0 0 0 0, "Easter Monday" )
    , ( Date.fromParts 2017 May 1 0 0 0 0, "Labour Day" )
    , ( Date.fromParts 2017 May 8 0 0 0 0, "Victory Europe Day" )
    , ( Date.fromParts 2017 May 25 0 0 0 0, "Ascension" )
    , ( Date.fromParts 2017 Jun 5 0 0 0 0, "Whit Monday" )
    , ( Date.fromParts 2017 Jul 14 0 0 0 0, "Bastille Day" )
    , ( Date.fromParts 2017 Aug 15 0 0 0 0, "Assumption Day" )
    , ( Date.fromParts 2017 Nov 1 0 0 0 0, "All Saints Day" )
    , ( Date.fromParts 2017 Nov 11 0 0 0 0, "Armistice Day" )
    , ( Date.fromParts 2017 Dec 25 0 0 0 0, "Christmas Day" )
    ]

See the Elm package for full documentation.

Development

Run the test suite:

elm-test