Modules§
Enums§
Functions§
- duration_
since_ epoch - format
- now
- now_
millis - now_
secs - parse_
duration - parse_
timepoint_ ago - pretty
- rfc2822_
from_ seconds - timepoint_
ago - timepoint_
from_ epoch - timepoint_
from_ now - timepoint_
has_ passed - whole_
and_ frac - Return a pair of (whole part, frac part) from a duration where. The whole part is the largest Unit containing a non-zero value, the frac part is a rational remainder left over.
- whole_
unit - Return the largest Unit which represents the duration. The value is rounded-down, but never zero.