Common Lisp Package: RFC3339

README:

FUNCTION

Public

MAKE-TIMESTAMP (&KEY (UTC-TIME (GET-UNIVERSAL-TIME)) (FRACTION 0) (OFFSET *DEFAULT-OFFSET*))

When supplying utc-time you must make sure that you also supply a correct offset. For UTC+00:00 the offset is 0. For UTC-01:00 the offset would be -3600 and for UTC+01:00 the offset would be 3600. Should you supply an offset or set *default-offset* to a value which does not translates to whole hours and seconds and thus can not be represented using a time offset of just hours and minutes we will break horribly so that you notice it.

Undocumented

PARSE-STRING (STRING)

Private

Undocumented

COLLAPSE (&REST YS)

COLLAPSE-BUTFIRST (&REST PARTS)

CREATE-TIMESTAMP (&REST PARTS)

DATE-STRING (TIME &OPTIONAL STREAM)

FLATTEN (TREE)

OFFSET-SECONDS (&REST VALUES)

RFC3339-LEXER (STRING)

THE-VALUES (&REST VALUES)

TIME-STRING (TIME &OPTIONAL STREAM)

UNSEPARATE (&REST VALUES)

UNSEPARATE-BUTLAST (&REST VALUES)

GENERIC-FUNCTION

Public

Undocumented

LOCAL-DATE-STRING (TIMESTAMP &OPTIONAL STREAM)

LOCAL-TIME-OF (TIMESTAMP)

LOCAL-TIME-STRING (TIMESTAMP &OPTIONAL STREAM)

RFC3339-TIMESTAMP (TIMESTAMP &OPTIONAL STREAM)

UTC-DATE-STRING (TIMESTAMP &OPTIONAL STREAM)

UTC-TIME-STRING (TIMESTAMP &OPTIONAL STREAM)

XML-RPC-TIMESTAMP (TIMESTAMP &OPTIONAL STREAM)

Private

Undocumented

FAULT-STRING-OF (CONDITION)

SETFFAULT-STRING-OF (NEW-VALUE CONDITION)

SLOT-ACCESSOR

Public

FRACTION-OF (OBJECT)

Represents the fractions that can not be represented using whole seconds of universal time.

SETFFRACTION-OF (NEW-VALUE OBJECT)

Represents the fractions that can not be represented using whole seconds of universal time.

OFFSET-OF (OBJECT)

Represent the offset in seconds relative to UTC. UTC+1 should be an offset of -3600

SETFOFFSET-OF (NEW-VALUE OBJECT)

Represent the offset in seconds relative to UTC. UTC+1 should be an offset of -3600

UTC-TIME-OF (OBJECT)

The timestamp as a universal time value with the accuracy of on second. This should be in UTC and the offset should go in the offset slot.

SETFUTC-TIME-OF (NEW-VALUE OBJECT)

The timestamp as a universal time value with the accuracy of on second. This should be in UTC and the offset should go in the offset slot.

VARIABLE

Public

Undocumented

*DEFAULT-OFFSET*

Private

Undocumented

*RFC3339-PARSER*

CLASS

Public

Undocumented

TIMESTAMP

CONDITION

Public

Undocumented

MALFORMED-TIMESTAMP