xsd-0.2: XML Schema data structures

Text.XML.XSD.DateTime

Description

XSD dateTime data structure http://www.w3.org/TR/xmlschema-2/#dateTime

Synopsis

Documentation

dateTime' :: String -> Either ParseError DateTimeSource

Parses the string into a dateTime or may fail with a parse error.

dateTime :: String -> Maybe DateTimeSource

Parses the string into a dateTime or may fail.

toZonedTime :: DateTime -> ZonedTimeSource

Converts a dateTime to a zoned time.

zonedTime' :: String -> Either ParseError ZonedTimeSource

Parses the string in a dateTime then converts to a zoned time and may fail with a parse error.

zonedTime :: String -> Maybe ZonedTimeSource

Parses the string in a dateTime then converts to a zoned time and may fail.