File: ietf-drums-date.el.html

'ietf-drums-parse-date-string' parses a time and/or date in a
string and returns a list of values, just like decode-time, where unspecified elements in the string are returned as nil (except unspecified DST is returned as -1). encode-time may be applied on these values to obtain an internal time value.

Historically, parse-time-string was used for this purpose, but it was gradually but imperfectly extended to handle other date formats. 'ietf-drums-parse-date-string' is compatible in that it uses the same return value format and parses the same email date formats by default, but can be made stricter if desired.

Defined variables (2)

ietf-drums-date--slot-namesNames of return value slots, for better error messages
ietf-drums-date--slot-rangesNumeric slot ranges, for bounds checking.

Defined functions (3)

ietf-drums-date--ignore-char-p(CHAR)
ietf-drums-date--tokenize-string(STRING &optional COMMENT-EOF)
ietf-drums-parse-date-string(TIME-STRING &optional ERROR NO-822)

Defined faces (0)