pub fn serialize<S: Serializer>( value: &Time, serializer: S, ) -> Result<S::Ok, S::Error>
Writes the quantity as an integer in this module’s unit.
Whatever the serializer reports for an integer.