Skip to main content

parse_time_to_precision_units

Function parse_time_to_precision_units 

Source
fn parse_time_to_precision_units(
    time_str: &str,
    precision: i32,
    literal_kind: &'static str,
    span: Span<'_>,
) -> Result<i64, MessageParseError>
Expand description

Parse a time-of-day string using chrono to a value in the given precision’s units since midnight.