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.
- Parse
Error - 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.
- Month
OrSeason - Represents either a calendar month or an EDTF Level 1 season code.
- Timezone
- Timezone specification for an EDTF datetime.
- Unspecified
Year - 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.