I have a class that I can simply define as (I have simplified the class):
Is it possible to check for chronological arrangement of two time objects most possibly without using an if statement ?Code:class Time{ public: Time(int hour,int minute,int second):hour(hour),minute(minute),second(second){} private: int hour; int minute; int second; };
Well this is off topic but there may be a python guru around,..is it possible to do similar thing in python?