Function time::parsing::component::parse_year

source ·
pub(crate) fn parse_year(
    input: &[u8],
    modifiers: Year
) -> Option<ParsedItem<'_, i32>>
Available on crate feature parsing only.
Expand description

Parse the “year” component of a Date.