Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class FormatTime t where
- formatTime :: FormatTime t => TimeLocale -> String -> t -> String
- class ParseTime t where
- parseTime :: ParseTime t => TimeLocale -> String -> String -> Maybe t
- readTime :: ParseTime t => TimeLocale -> String -> String -> t
- readsTime :: ParseTime t => TimeLocale -> String -> ReadS t
- data TimeParse = TimeParse {
- tpCentury :: !Int
- tpCenturyYear :: !Int
- tpMonth :: !Month
- tpWeekOfYear :: !WeekOfYear
- tpDayOfMonth :: !DayOfMonth
- tpDayOfYear :: !DayOfYear
- tpDayOfWeek :: !DayOfWeek
- tpFlags :: !Int
- tpHour :: !Hour
- tpMinute :: !Minute
- tpSecond :: !Int
- tpSecFrac :: !DiffTime
- tpPOSIXTime :: !POSIXTime
- tpTimeZone :: !TimeZone
- timeParser :: TimeLocale -> String -> Parser TimeParse
Documentation
class FormatTime t where Source
formatTime :: FormatTime t => TimeLocale -> String -> t -> String Source
TimeParse | |
|
timeParser :: TimeLocale -> String -> Parser TimeParse Source