- type Duration = DateTime -> DateTime
- data Days
- toDuration :: Integer -> Days -> Duration
- fixTime :: DateTime -> Int -> DateTime
- zellerCongruence :: Integer -> Int -> Int -> Integer
- assemble :: DateTime -> Duration -> Maybe Duration -> [DateTime]
- addDays :: Integer -> DateTime -> DateTime
- addWeeks :: Integer -> DateTime -> DateTime
- addMonths :: Integer -> DateTime -> DateTime
- addYears :: Integer -> DateTime -> DateTime
Documentation
toDuration :: Integer -> Days -> DurationSource
Creates a duration for the number of periods of days specified
zellerCongruence :: Integer -> Int -> Int -> IntegerSource
Given year, month and day, gives the (0 based) day of the week