time::parsing::combinator

Function n_to_m_digits_padded

Source
pub(crate) fn n_to_m_digits_padded<'a, const N: u8, const M: u8, T: Integer>(
    padding: Padding,
) -> impl Fn(&'a [u8]) -> Option<ParsedItem<'a, T>>
Available on crate feature parsing only.
Expand description

Consume between n and m digits, returning the numerical value.