Polymorphic compare for any pair of same-typed Temporal values. Returns a negative number if a < b, 0 if equal, positive if a > b — matching the convention used by each Temporal.X.compare static.
a < b
0
a > b
Temporal.X.compare
Both arguments must be the same Temporal type.
Polymorphic compare for any pair of same-typed Temporal values. Returns a negative number if
a < b,0if equal, positive ifa > b— matching the convention used by eachTemporal.X.comparestatic.Both arguments must be the same Temporal type.