rfc3339 property

OffsetDateTimePattern get rfc3339

Gets an invariant offset date/time pattern based on RFC 3339 (down to the nanosecond), including offset from UTC as hours and minutes only.

The minutes part of the offset is always included, but any sub-minute component of the offset is lost. An offset of zero is formatted as 'Z', but all of 'Z', '+00:00' and '-00:00' are parsed the same way. The RFC 3339 meaning of '-00:00' is not supported by Time Machine. Note that parsing is case-sensitive (so 'T' and 'Z' must be upper case). The calendar system is not parsed or formatted as part of this pattern. It corresponds to a custom pattern of "uuuu'-'MM'-'dd'T'HH':'mm':'ss;FFFFFFFFFo<Z+HH:mm>".

Implementation

static OffsetDateTimePattern get rfc3339 => OffsetDateTimePatterns.rfc3339PatternImpl;