fn parse_month(month: &[u8]) -> Option<u8> {
    match parse_2_digits(month) {
        Some(month) if month >= 1 && month <= 12 => Some(month),
        _ => None,
    }
}
/// Parse a 2-digit month
Parse a 2-digit month
Parse a 2 - digit month
fn parse_month(month: &[u8]) -> Option<u8> {
    match parse_2_digits(month) {
        Some(month) if month >= 1 && month <= 12 => Some(month),
        _ => None,
    }
}
fn parse_month ( month : & [ u8 ] ) -> Option < u8 > { match parse_2_digits ( month ) { Some ( month ) if month >= 1 && month <= 12 => Some ( month ) , _ => None , } }
Parse a 2-digit month
Parse a 2 - digit month
month
&[u8]