Skip to main content

parse_calendar_year_century_extended_range

Function parse_calendar_year_century_extended_range 

Source
pub(crate) fn parse_calendar_year_century_extended_range(
    input: &[u8],
    modifiers: CalendarYearCenturyExtendedRange,
) -> Option<ParsedItem<'_, (i16, bool)>>
Available on crate feature parsing only.
Expand description

Parse all digits of the calendar-based year except the last two.

This permits utilizing the full range of supported years, though at the cost of introducing parsing ambiguities.