Function time::parsing::component::parse_year
source · pub(crate) fn parse_year(
input: &[u8],
modifiers: Year,
) -> Option<ParsedItem<'_, i32>>
Expand description
Parse the “year” component of a Date
.
pub(crate) fn parse_year(
input: &[u8],
modifiers: Year,
) -> Option<ParsedItem<'_, i32>>
Parse the “year” component of a Date
.