Skip to main content

parse_time_range

Function parse_time_range 

Source
pub fn parse_time_range(
    from: &str,
    to: Option<&str>,
) -> Result<(i64, i64), DatadogError>
Expand description

Parses a (from, to) pair. When to is None, defaults to now.