jiff::fmt::strtime::parse

Function parse_month_name_abbrev

Source
fn parse_month_name_abbrev<'i>(
    input: &'i [u8],
) -> Result<(usize, &'i [u8]), Error>
Expand description

Like parse_choice, but specialized for month name abbreviation.

This exists because month name abbreviations are common and we can take advantage of the fact that they are all exactly three bytes.