Expand description
§Date and time values
The decoded date/time value kinds: a calendar date, a date-time, and a time.
IcalDate (RFC 5545 3.3.4, YYYYMMDD) backs date-valued properties,
IcalDateTime (RFC 5545 3.3.5, YYYYMMDDTHHMMSS with an optional Z
suffix or a companion TZID parameter) backs DTSTART / DTEND /
DTSTAMP and friends, and IcalTime (RFC 5545 3.3.12, HHMMSS with an
optional Z suffix) backs bare time values. All three are kept as their raw
text rather than decoded into calendar fields: the grammars carry
timezone-dependent and reduced-precision forms whose meaning depends on
companion parameters, so decoding here would risk a lossy round-trip. Callers
that need calendar semantics parse the string themselves.
Structs§
- Ical
Date - A decoded date value (
YYYYMMDD), kept as its raw text. - Ical
Date Time - A decoded date-time value (
YYYYMMDDTHHMMSS, optionalZorTZID), kept as its raw text. - Ical
Date Time List - A decoded comma-separated list of date-ish values, each kept as its raw text.
- Ical
Time - A decoded time value (
HHMMSS, optionalZ), kept as its raw text.