differenceInMinutes method
Minutes from this time until other (can be negative).
Implementation
int differenceInMinutes(SphTimeOfDay other) {
return (other.hour - hour) * 60 + other.minute - minute;
}
Minutes from this time until other (can be negative).
int differenceInMinutes(SphTimeOfDay other) {
return (other.hour - hour) * 60 + other.minute - minute;
}