Returns true if other represents the same time of day.
true
other
@override bool operator ==(Object other) => other is Time && compareTo(other) == 0;