Skip to main content

parse_time_hms

Function parse_time_hms 

Source
pub fn parse_time_hms(value: &str) -> Option<(u32, u32, u32)>
Expand description

Parse a strict HH:MM:SS clock time, rejecting trailing components and out-of-range fields (second == 60 is rejected here; leap-second-tolerant callers keep their own looser parser).