Time class Version 1.3 DOCUMENTATION NEW IN THIS VERSION: The class now has get and set methods (for additional flexibility). Each Time object represents a time on a 24-hour clock (0:00 to 23:59). Constructors: Time() Time(int h) Time(int h, int m) Initializes the time to either 99:99 (an invalid value), h:00 or h:m. Methods: void read(istream & in) Reads receiver from in the format h:mm or hh:mm, where each h and m stands for a single digit. No error-checking. void print(ostream & out) const Prints receiver to out in the format described for read. double minus(const Time & t2) const Computes the difference, in hours, between the receiver and t2. The difference is positive if the receiver occurs after t2. In other words, the difference is computed as "t1 - t2". int hours() const int minutes() const Returns the hours or minutes of the time. void set_hours(int new_hours) void set_minutes(int new_minutes) Sets the hours or minutes of the time. void set(int new_hours, int new_minutes = 0) Sets the hours and minutes of the time. Implementation notes: Each time is stored as a pair of integers (hours, minutes) by using a class. The data is private.