TimeSpan
Define a class named TimeSpan
.
A TimeSpan
object stores a span of time in hours and minutes (for example, the time span between 8:00am and 10:30am is 2 hours, 30 minutes).
The minutes should always be reported as being in the range of 0 to 59.
That means that you may have to "carry" 60 minutes into a full hour.
To solve this problem, you may want to refer to the lecture slides about the syntax for constructors.
See the Practice-It link above for a full description of the class and the methods/constructors it should have.