Skip to main content

Module millis_i64_trunc

Module millis_i64_trunc 

Source
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.

Functions§

deserialize
Reads the quantity from an integer in this module’s unit.
serialize
Writes the quantity as an integer in this module’s unit.