Public Member Functions | |
std::string | toString () const |
string representation of | |
bool | operator== (const Time &right) const |
comparison | |
bool | operator!= (const Time &right) const |
bool | operator< (const Time &right) const |
bool | operator> (const Time &right) const |
bool | operator<= (const Time &right) const |
bool | operator>= (const Time &right) const |
Constructor | |
Time () | |
Time (UInt8 hour, UInt8 minute, UInt8 second) | |
default constructor. More... | |
Accessors | |
UInt8 | getHour () const |
UInt8 | getMinute () const |
Returns minute. More... | |
UInt8 | getSecond () const |
Returns second. More... | |
void | setHour (UInt8 h) |
void | setMinute (UInt8 m) |
void | setSeconds (UInt8 s) |
Time.
Time | ( | UInt8 | hour, |
UInt8 | minute, | ||
UInt8 | second | ||
) |
default constructor.
all fields are set to zero
UInt8 getMinute | ( | ) | const |
Returns minute.
UInt8 getSecond | ( | ) | const |
Returns second.