Fred fills out his time sheet at work, but he needs to provide the number of minutes worked. He only knows the start and end times, given in hours and minutes. Help Fred by implementing the minutesUntil method below.

For example, if two Time objects are declared as

Time start = new Time(13:11);
Time end = new Time(14:01);

then the call start.minutesUntil(end) should return 50. There are 50 minutes between 13:11 and 14:01.

Be sure to handle the situation where Fred works the night shift. If

start = new Time(23:11);
end = new Time(1:01);

then the call start.minutesUntil(end) should return 110.