Structsยง
- Duration
Units ๐ - A container for holding a partially parsed duration.
Functionsยง
- duration_
unit_ ๐value - Returns the given parsed value, interpreted as the given unit, as a
SignedDuration. - fractional_
duration ๐ - Converts the fraction of the given unit to a signed duration.
- fractional_
time_ ๐to_ duration - Like
fractional_time_to_span, but just converts the fraction of the given unit to a signed duration. - fractional_
time_ ๐to_ span - This routine returns a span based on the given unit and value with fractional time applied to it.
- parse_
temporal_ ๐fraction - Parses an optional fractional number from the start of
input.