Module util
Source - Decimal ๐
- A formatted decimal number that can be converted to a sequence of bytes.
- DecimalFormatter ๐
- A simple formatter for converting
i64 values to ASCII byte strings. - DurationUnits ๐
- A container for holding a partially parsed duration.
- Fractional ๐
- A formatted fractional number that can be converted to a sequence of bytes.
- FractionalFormatter ๐
- A simple formatter for converting fractional components to ASCII byte
strings.
- 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.