-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Parse and display time according to some RFCs (RFC3339, RFC2822) -- -- Parse and display time according to some RFC's. Supported: RFC3339 -- http://www.ietf.org/rfc/rfc3339.txt RFC2822 -- http://www.ietf.org/rfc/rfc2822.txt -- -- This package defines a type class to parse and read time -- representations specified in some RFC's. Right now there is only -- support for reading and showing String @package timerep @version 1.0.0 module Data.Time.RFC2822 -- | This class is here to allow future support for other data types like -- Data.Text or Data.ByteString if that becomes necessary class RFC2822 a showRFC2822 :: RFC2822 a => ZonedTime -> a readRFC2822 :: RFC2822 a => a -> Maybe ZonedTime instance RFC2822 String module Data.Time.RFC3339 -- | This class is here to allow future support for other data types like -- Data.Text or Data.ByteString if that becomes necessary class RFC3339 a showRFC3339 :: RFC3339 a => ZonedTime -> a readRFC3339 :: RFC3339 a => a -> Maybe ZonedTime instance RFC3339 String