Skip to main content

Module duration

Module duration 

Source
Expand description

Human-readable duration parsing shared by device applications.

Functionsยง

deserialize_duration
Deserialize a duration from a human-readable string.
parse_duration
Parse a human-readable duration such as 500ms, 2h30m, or 1year.