Copyright | Alexander Ignatyev 2016 |
---|---|
Safe Haskell | Safe |
Language | Haskell2010 |
Data.Astro.Time.GregorianCalendar
Description
Gregorian Calendar was introduced by Pope Gregory XIII. He abolished the days 1582-10-05 to 1582-10-14 inclusive to bring back civil and tropical years back to line.
Synopsis
- isLeapYear :: Integer -> Bool
- dayNumber :: Day -> Int
- easterDayInYear :: Int -> Day
- gregorianDateAdjustment :: Integer -> Int -> Int -> Int
Documentation
isLeapYear :: Integer -> Bool Source #
Check Gregorian calendar leap year
easterDayInYear :: Int -> Day Source #
Get Easter date function uses absolutely crazy Butcher's algorithm