#include <simpletime.h>
Public Methods | |
| CSimpleTime () | |
| CSimpleTime (const char *szTime) | |
| CSimpleTime (unsigned seconds) | |
| virtual unsigned | GetHour () |
| virtual unsigned | GetMinute () |
| virtual unsigned | GetSecond () |
| operator unsigned () const | |
| operator PTIMESTRING () | |
| CSimpleTime & | operator= (const char *time) |
| CSimpleTime & | operator= (const unsigned time) |
| CSimpleTime | operator+= (const unsigned time) |
| CSimpleTime | operator-= (const unsigned time) |
| bool | operator== (const unsigned time) const |
| bool | operator< (const unsigned time) const |
| bool | operator> (const unsigned time) const |
| bool | operator<= (const unsigned time) const |
| bool | operator>= (const unsigned time) const |
| bool | operator== (const CSimpleTime &time) const |
| bool | operator< (const CSimpleTime &time) const |
| bool | operator> (const CSimpleTime &time) const |
| bool | operator<= (const CSimpleTime &time) const |
| bool | operator>= (const CSimpleTime &time) const |
Static Public Methods | |
| unsigned | GetCurrentTime () |
| unsigned | Convert (unsigned hour, unsigned minute, unsigned second) |
| bool | IsValid (unsigned time) |
Public Attributes | |
| unsigned | m_currentTime |
| unsigned | m_hour |
| unsigned | m_minute |
| unsigned | m_second |
| char | m_szFormated [80] |
Protected Methods | |
| void | FormatOutput () |
| void | SetTime () |
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.11 written by Dimitri van Heesch,
© 1997-2001