difference method
判断时间差
Implementation
Duration difference(TimeOfDay other) {
final Duration hoursDuration = Duration(hours: hour - other.hour);
final Duration minutesDuration = Duration(minutes: minute - other.hour);
return hoursDuration + minutesDuration;
}