fn format_minute(min: u64, period: &str) -> u64 {
    if period == "OT" {
        60 + min
    } else {
        let period: u64 = period.parse().unwrap();
        20 * (period - 1) + min
    }
}
/// Transforms a combination of min (between 0 and 19) and
/// period ("OT", "SO" or number > 0 in number form)
/// into a numeric minute given 20 minute periods
Transforms a combination of min (between 0 and 19) and
period ("OT", "SO" or number > 0 in number form)
into a numeric minute given 20 minute periods
Transforms a combination of min ( between 0 and 19 ) and period ( " OT " " SO " or number > 0 in number form ) into a numeric minute given 20 minute periods
fn format_minute(min: u64, period: &str) -> u64 {
    if period == "OT" {
        60 + min
    } else {
        let period: u64 = period.parse().unwrap();
        20 * (period - 1) + min
    }
}
fn format_minute ( min : u64 , period : & str ) -> u64 { if period == " " { 60 + min } else { let period : u64 = period . parse ( ) . unwrap ( ) ; 20 * ( period - 1 ) + min } }
Transforms a combination of min (between 0 and 19) and
period ("OT", "SO" or number > 0 in number form)
into a numeric minute given 20 minute periods
Transforms a combination of min ( between 0 and 19 ) and period ( " OT " " SO " or number > 0 in number form ) into a numeric minute given 20 minute periods
min
u64
period
&str
min
u64
period
&str