Skip to main content

Crate citum_edtf

Crate citum_edtf 

Source
Expand description

citum_edtf - A modern EDTF (Extended Date/Time Format) parser

This crate implements ISO 8601-2:2019 (EDTF) Level 0 and Level 1.

Structs§

Date
Stores a parsed EDTF date or datetime with per-component quality markers.
Interval
A date interval.
ParseError
Error returned when an EDTF string cannot be parsed.
Quality
Records EDTF uncertainty and approximation qualifiers for one date component.
Time
Stores a basic ISO 8601 time with an optional timezone offset.
Year
A year in an EDTF date, which may contain unspecified digits.

Enums§

Day
A day in an EDTF date, which may be unspecified.
Edtf
Represents the top-level EDTF value.
MonthOrSeason
Represents either a calendar month or an EDTF Level 1 season code.
Timezone
Timezone specification for an EDTF datetime.
UnspecifiedYear
Unspecified digits in a year (EDTF Level 1).

Functions§

parse
Parses one top-level EDTF value from the start of input.
parse_date
Parses one EDTF date or datetime from the start of input.