Expand description
A time extent as whole milliseconds, truncated on the way out.
Use this module to match an external format that integer-divides and
does not round, such as Tempo’s durationMs. Reading is exact, so
this module is asymmetric on purpose. See
TimeExt::millis_i64_trunc.
The Option form of the sibling module: null is None.
Functions§
- deserialize
- Reads the quantity from an integer in this module’s unit, or
null. - serialize
- Writes the quantity as an integer in this module’s unit, or
null.