WashNGo-2.12.0.1: WASH is a family of EDSLs for programming Web applications in Haskell.

WASH.Utility.ISO8601

Synopsis

Documentation

class ToSeconds iso whereSource

Methods

toSeconds :: iso -> CalendarTime -> IntegerSource

returns number of seconds since reference point

toRawSeconds :: iso -> CalendarTime -> IntegerSource

leapSeconds :: [Integer]Source

compute weekday of Jan 1

in seconds from epoch; needs to be updated when time leaps again

data ISODateAndTime Source

data type for representing ISO time