Inheritance diagram for Rfc1123:
Static Public Member Functions | |
static char[] | format (long time) |
static char[] | format (char[] buffer, long time) |
static long | parse (char[] date, uint *ate=null) |
Static Private Member Functions | |
static int | rfc1123 (char[] src, inout ulong value) |
static int | rfc850 (char[] src, inout ulong value) |
static int | asctime (char[] src, inout ulong value) |
static bool | time (inout Fields fields, inout char *p) |
static int | parseMonth (inout char *p) |
static int | parseShortDay (inout char *p) |
static int | parseFullDay (inout char *p) |
static int | parseInt (inout char *p) |
static long | startTime () |
Private Attributes | |
const long | InvalidEpoch = -1 |
See http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html for further detail.
Definition at line 62 of file Rfc1123.d.
|
RFC 1123 formatted time Provides enough space to construct a standard date in the following format: "Sun, 06 Nov 1994 08:49:37 GMT" |
|
RFC 1123 formatted time Converts to the format "Sun, 06 Nov 1994 08:49:37 GMT", and returns a populated slice of the provided buffer; with zero length if the date was invalid. Note that RFC 1123 format is always in absolute GMT time |
|
Parse provided input and return a UTC epoch time. A return value of InvalidEpoch indicated a parse-failure. An option is provided to return the count of characters parsed ~ a zero value here also indicated invalid input. |
|
RFC 822, updated by RFC 1123 "Sun, 06 Nov 1994 08:49:37 GMT" Definition at line 154 of file Rfc1123.d. References parseInt(), parseMonth(), parseShortDay(), and time(). Referenced by parse(). |
|
RFC 850, obsoleted by RFC 1036 "Sunday, 06-Nov-94 08:49:37 GMT" Definition at line 192 of file Rfc1123.d. References parseFullDay(), parseInt(), parseMonth(), and time(). Referenced by parse(). |
|
ANSI C's asctime() format "Sun Nov 6 08:49:37 1994" Definition at line 236 of file Rfc1123.d. References parseInt(), parseMonth(), parseShortDay(), and time(). Referenced by parse(). |
|
Parse a time field Definition at line 271 of file Rfc1123.d. References parseInt(). |
|
Match a month from the input |
|
Match a day from the input |
|
Match a day from the input Definition at line 383 of file Rfc1123.d. References memcmp(). Referenced by rfc850(). |
|
Extract an integer from the input |
|
Utc time this executable started Definition at line 356 of file Epoch.d. References Epoch::startTime(). Referenced by Epoch::startTime(). |
|
|