compareTo method
Compares this TZDateTime object to other
,
returning zero if the values occur at the same moment.
This function returns a negative integer
if this TZDateTime is smaller (earlier) than other
,
or a positive integer if it is greater (later).
Implementation
@override
int compareTo(DateTime other) => _native.compareTo(_toNative(other));