ANSI C's asctime() format :: "Sun Nov 6 08:49:37 1994"
ANSI C's asctime() format :: "Sun Nov 6 08:49:37 1994"
DOS time format :: "12-31-06 08:49AM"
DOS time format :: "12-31-06 08:49AM"
RFC1123 formatted time
ISO-8601 format :: "2006-01-31T14:49:30Z"
ISO-8601 format :: "2006-01-31 14:49:30,001"
ISO-8601 format :: "2006-01-31 14:49:30,001"
Parse provided input and return a UTC epoch time. A return value of Time.max (or false, respectively) indicated a parse-failure.
Parse provided input and return a UTC epoch time. A return value of Time.max (or false, respectively) indicated a parse-failure.
RFC 822, updated by RFC 1123 :: "Sun, 06 Nov 1994 08:49:37 GMT"
RFC 822, updated by RFC 1123 :: "Sun, 06 Nov 1994 08:49:37 GMT"
RFC 850, obsoleted by RFC 1036 :: "Sunday, 06-Nov-94 08:49:37 GMT"
RFC 850, obsoleted by RFC 1036 :: "Sunday, 06-Nov-94 08:49:37 GMT"
Template wrapper to make life simpler. Returns a text version of the provided value.
Parse provided input and return a UTC epoch time. An exception is raised where the provided string is not fully parsed.
Converts between native and text representations of HTTP time values. Internally, time is represented as UTC with an epoch fixed at Jan 1st 1970. The text representation is formatted in accordance with RFC 1123, and the parser will accept one of RFC 1123, RFC 850, or asctime formats.
See http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html for further detail.
Applying the D "import alias" mechanism to this module is highly recommended, in order to limit namespace pollution: