Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
The class of types which can be parsed given a UNIX-style time format string.
buildTime :: TimeLocale -> [(Char, String)] -> Maybe t #
Builds a time value from a parsed input string.
If the input does not include all the information needed to
construct a complete value, any missing parts should be taken
from 1970-01-01 00:00:00 +0000 (which was a Thursday).
In the absence of %C
or %Y
, century is 1969 - 2068.
class FormatTime t where #
formatCharacter :: Char -> Maybe (TimeLocale -> Maybe NumericPadOption -> t -> String) #