Skip to main content

timestamp_cmp

Function timestamp_cmp 

Source
pub fn timestamp_cmp(
    left: &TeamTimestampV1,
    right: &TeamTimestampV1,
) -> Ordering
Expand description

Orders two validated timestamps by instant: seconds first, then the fractional digits compared as a fraction (missing digits count as zero).