Skip to main content

parse_time

Function parse_time 

Source
pub fn parse_time(value: &str) -> Result<Time, ParseTimeError>
Expand description

Parses a time in HHMM format.

ยงErrors

Returns an error if the value is not four ASCII digits or is outside the valid time range.