TemporalZ

compare

Compares two PlainTime instances by their time values. Returns -1, 0, or 1 if the first is before, equal, or after the second.

See: Temporal.PlainTime.compare

Parameters

#
a:PlainTime
PlainTime
b:PlainTime
PlainTime

Source

Implementation

#
pub fn compare(a: PlainTime, b: PlainTime) i8 {
    return abi.c.temporal_rs_PlainTime_compare(a._inner, b._inner);
}