|
|
|
|
|
|
Synopsis |
|
|
|
Documentation |
|
applyToCalT :: (CalendarTime -> a) -> IO a |
|
isoDateAndTimeToSeconds :: ISODateAndTime -> IO Integer |
|
isoTimeToSeconds :: ISOTime -> IO Integer |
|
isoDateToSeconds :: ISODate -> IO Integer |
|
class ToSeconds iso where |
| Methods | toSeconds :: iso -> CalendarTime -> Integer | returns number of seconds since reference point | | toRawSeconds :: iso -> CalendarTime -> Integer |
| | Instances | |
|
|
leapSeconds :: [Integer] |
in seconds from epoch; needs to be updated when time leaps again |
|
data LeapSeconds |
Constructors | LeapSecond Integer | | NotLeapSecond Integer | |
| Instances | |
|
|
isoDateToClockTime :: ISODate -> ClockTime |
|
isoDateAndTimeToClockTime :: ISODateAndTime -> ClockTime |
|
data ISODateAndTime |
data type for representing ISO time | Constructors | | Instances | |
|
|
data ISODate |
|
|
data ISOYearSpec |
Constructors | ImplicitYear | | ImplicitCentury Int | | Century Int | | ImplicitDecade Int | | Year Int | |
| Instances | |
|
|
data ISODayOfYearSpec |
|
|
data ISOMonthSpec |
|
|
data ISODayOfMonthSpec |
Constructors | NoDayOfMonth | | DayOfMonth Int | |
| Instances | |
|
|
data ISOWeekSpec |
Constructors | ImplicitWeek | | AnyWeek | | Week Int | |
| Instances | |
|
|
data ISODayOfWeekSpec |
|
|
data ISOTime |
|
|
data ISOHourSpec |
|
|
data ISOMinuteSpec |
Constructors | ImplicitMinute | | Minute Int | | NoMinute | |
| Instances | |
|
|
data ISOSecondSpec |
|
|
data ISOTimeZoneSpec |
|
|
parseDateFromString :: String -> Maybe ISODate |
|
parseTimeFromString :: String -> Maybe ISOTime |
|
parseDateAndTimeFromString :: String -> Maybe ISODateAndTime |
|
Produced by Haddock version 0.6 |