Module util

Module util 

Source

Structsยง

DurationUnits ๐Ÿ”’
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.