jiff::fmt::strtime::parse

Function parse_iana_component

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

Parses a single IANA name component. That is, the thing that leads all IANA time zone identifiers and the thing that must always come after a /. This returns an error if no component could be found.