Skip to main content

parse_time

Function parse_time 

Source
fn parse_time(text: &str) -> Option<(i8, i8)>
Expand description

“09:30” → (9, 30); “24:00” ends a day; anything past it, or not a time, is none.