time::parsing::component

Function parse_hour

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

Parse the “hour” component of a Time.