Public Methods | |
CTime () | |
CTime (t_int64, t_ulong=0) | |
CTime & | operator+= (const CTime &) |
CTime & | operator-= (const CTime &) |
bool | operator== (const CTime &) const |
bool | operator!= (const CTime &) const |
bool | IsInfinite () const |
void | SetInfinite () |
void | SetCurrent () |
void | SetCurrentGMT () |
void | SetCurrentLocalGMT () |
void | Set (t_ulong, t_ulong, t_ulong, t_ulong=0, t_ulong=0, t_ulong=0, t_ulong=0) |
Extra figures | |
Returns the number of X beyond the number of secondes. X represents :
| |
t_ulong | GetExtraMilliSec () const |
t_ulong | GetExtraMicroSec () const |
t_ulong | GetExtraNanoSec () const |
Return information about the current data before the call of the functions :
| |
t_int64 | GetNanoSec () const |
t_int64 | GetMicroSec () const |
t_int64 | GetMilliSec () const |
t_int64 | GetSec () const |
t_int64 | GetMinute () const |
t_int64 | GetHour () const |
t_int64 | GetDay () const |
t_int64 | GetWeek () const |
Access functions | |
Return the total number of X that is contained in the object. X represents :
| |
t_ulong | Year () const |
t_ulong | Month () const |
t_ulong | Day () const |
t_ulong | Hour () const |
t_ulong | Minute () const |
t_ulong | Second () const |
t_ulong | NanoSecond () const |
Friends | |
std::ostream & | operator<< (std::ostream &, const CTime &) |
|
Constructor by default. The duration is infinite by default. |
|
Constructor with seconds and nanoseconds. |
|
Returns true if the date represents an infinite time. |
|
Sets the date. |
|
Sets the date to the current data in the local time zone.
|
|
Sets the date to the GMT=0 |
|
Sets the date to the local GMT time zone |
|
Sets the date to an infinited time. |
|
Formats the date to a string.
|
|
|