time-parsers-0.1.2.1: Parsers for types in `time`.
Data.Time.TH
Description
Template Haskell extras for Time.
Time
mkUTCTime :: String -> Q Exp Source #
Make a UTCTime. Accepts the same strings as utcTime parser accepts.
UTCTime
utcTime
t :: UTCTime t = $(mkUTCTime "2014-05-12 00:02:03.456000Z")
mkDay :: String -> Q Exp Source #
Make a Day. Accepts the same strings as day parser accepts.
Day
day
d :: Day d = $(mkDay "2014-05-12")