Skip to main content

parse_timepoint_ago

Function parse_timepoint_ago 

Source
pub fn parse_timepoint_ago(ago: &str) -> Result<SystemTime>
Expand description

Parses a duration and returns the wall-clock time that far in the past.

Input syntax is delegated to parse_duration. Parsing and checked-subtraction errors are propagated.