A duration, stored canonically in nanoseconds. Build with ns/1/us/1/ms/1/s/1,
read back with the matching as_* accessor. A Time is a distinct struct, so it
cannot be mixed with other dimensions (Information, Bandwidth). Arithmetic
(+, -) and comparison (<, >, <=, >=) come from Unit.Operators.
Summary
Functions
Parse a duration string like "60s"/"100ms"/"1h". Suffixes: ns/us/ms/s/m/h.
Like parse/1 but raises ArgumentError on bad input.
The zero duration (additive identity).
Types
Functions
Parse a duration string like "60s"/"100ms"/"1h". Suffixes: ns/us/ms/s/m/h.
Like parse/1 but raises ArgumentError on bad input.
@spec zero() :: t()
The zero duration (additive identity).