-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | XML Schema data structures -- -- XML Schema data structures (XSD) @package xsd @version 0.3.2 -- | XSD dateTime data structure -- http://www.w3.org/TR/xmlschema-2/#dateTime module Text.XML.XSD.DateTime -- | XSD dateTime data structure -- http://www.w3.org/TR/xmlschema-2/#dateTime data DateTime -- | Parses the string into a dateTime or may fail with a parse -- error. dateTime' :: String -> Either ParseError DateTime -- | Parses the string into a dateTime or may fail. dateTime :: String -> Maybe DateTime -- | Converts a dateTime to a zoned time. toZonedTime :: DateTime -> ZonedTime -- | Converts a zoned time to a dateTime. fromZonedTime :: ZonedTime -> DateTime -- | Parses the string in a dateTime then converts to a zoned time -- and may fail with a parse error. zonedTime' :: String -> Either ParseError ZonedTime -- | Parses the string in a dateTime then converts to a zoned time -- and may fail. zonedTime :: String -> Maybe ZonedTime -- | Converts a dateTime to a UTC time. toUTCTime :: DateTime -> UTCTime -- | Converts a UTC time to a dateTime. fromUTCTime :: UTCTime -> DateTime -- | Parses the string in a dateTime then converts to a UTC time -- and may fail with a parse error. utcTime' :: String -> Either ParseError UTCTime -- | Parses the string in a dateTime then converts to a UTC time -- and may fail. utcTime :: String -> Maybe UTCTime instance Eq Offset instance Show Offset instance Ord DateTime instance Eq DateTime instance Read DateTime instance Show DateTime module Text.XML.XSD