Parses a date in a format specified in ISO 8601:2004.
Parses a combined date and time in a format specified in ISO 8601:2004.
Parses a combined date and time in a format specified in ISO 8601:2004.
Parses a time of day in a format specified in ISO 8601:2004.
An extended date type, wrapping a Time together with some additional * information.
This module is based on the ISO 8601:2004 standard, and has functions for parsing (almost) every date/time format specified therein. (The ones not supported are intervals, durations, and recurring intervals.)
Refer to the standard for a full description of the formats supported.
The functions (parseTime, parseDate, and parseDateAndTime) are overloaded into two different versions of each: one updates a given Time, and the other updates a given ExtendedDate struct. The purpose of this struct is to support more detailed information which the Time data type does not (and, given its simple integer nature, cannot) support.
Times with specified time zones are simply converted into UTC: this may lead to the date changing when only a time was parsed: e.g. "01:00+03" is the same as "22:00", except that when the former is parsed, one is subtracted from the day.