time::parsing::combinator

Function exactly_n_digits_padded

source
pub(crate) fn exactly_n_digits_padded<'a, const N: u8, T: Integer>(
    padding: Padding,
) -> impl Fn(&'a [u8]) -> Option<ParsedItem<'a, T>>
Expand description

Consume exactly n digits, returning the numerical value.