smallGreaterCompare method
Implementation
int smallGreaterCompare(TimeOfDay other) {
if (this.hour < other.hour) return -1;
if (this.hour > other.hour) return 1;
if (this.minute < other.minute) return -1;
if (this.minute > other.minute) return 1;
return 0;
}