time::parsing::component

Function parse_hour

source
pub(crate) fn parse_hour(
    input: &[u8],
    modifiers: Hour,
) -> Option<ParsedItem<'_, u8>>
Expand description

Parse the “hour” component of a Time.