time::parsing::combinator

Function exactly_n_digits

Source
pub(crate) fn exactly_n_digits<const N: u8, T: Integer>(
    input: &[u8],
) -> Option<ParsedItem<'_, T>>
Available on crate feature parsing only.
Expand description

Consume exactly n digits, returning the numerical value.