Function time::parsing::component::parse_period

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

Parse the “period” component of a Time. Required if the hour is on a 12-hour clock.