thyme-0.3.5.5: A faster time library

Safe HaskellNone
LanguageHaskell2010

Data.Thyme.Calendar

Contents

Description

UTCTime is not Y294K-compliant, and Bounded instances for the various calendar types reflect this fact. That said, the calendar calculations by themselves work perfectly fine for a wider range of dates, subject to the size of Int for your platform.

Synopsis

Documentation

type Days = Int Source

Days

newtype Day Source

The Modified Julian Day is a standard count of days, with zero being the day 1858-11-17.

Constructors

ModifiedJulianDay 

Gregorian calendar

type Year = Int Source

isLeapYear :: Year -> Bool Source

Gregorian leap year?

Lenses