#include <time.hpp>
Public Types |
| typedef GWEN_TIME | wrapped_type |
Public Member Functions |
| | Time (int year, int month, int day, int hour, int min, int sec, int inUtc) |
| | ~Time () |
| | Time (const wrapped_type *other) |
| | Time (const Time &other) |
| Time & | operator= (const Time &other) |
| | operator const wrapped_type * () const |
| | operator wrapped_type * () |
| const wrapped_type * | ptr () const |
| wrapped_type * | ptr () |
| uint32_t | seconds () const |
| double | milliseconds () const |
| struct tm | toTm () const |
| time_t | toTime_t () const |
| int | getBrokenDownDate (int &day, int &month, int &year) |
| int | getBrokenDownUtcDate (int &day, int &month, int &year) |
Static Public Member Functions |
| static Time | currentTime () |
Detailed Description
A wrapper class around the GWEN_TIME type
Definition at line 24 of file time.hpp.
Member Typedef Documentation
Constructor & Destructor Documentation
| AB::Time::Time |
( |
int |
year, |
|
|
int |
month, |
|
|
int |
day, |
|
|
int |
hour, |
|
|
int |
min, |
|
|
int |
sec, |
|
|
int |
inUtc | |
|
) |
| | [inline] |
| AB::Time::~Time |
( |
|
) |
[inline] |
| AB::Time::Time |
( |
const Time & |
other |
) |
[inline] |
Member Function Documentation
| static Time AB::Time::currentTime |
( |
|
) |
[inline, static] |
| int AB::Time::getBrokenDownDate |
( |
int & |
day, |
|
|
int & |
month, |
|
|
int & |
year | |
|
) |
| | [inline] |
Returns the broken down date as local date.
Definition at line 52 of file time.hpp.
| int AB::Time::getBrokenDownUtcDate |
( |
int & |
day, |
|
|
int & |
month, |
|
|
int & |
year | |
|
) |
| | [inline] |
Returns the broken down time as UTC date (Greenwhich Mean time).
Definition at line 59 of file time.hpp.
| double AB::Time::milliseconds |
( |
|
) |
const [inline] |
| Time& AB::Time::operator= |
( |
const Time & |
other |
) |
[inline] |
| uint32_t AB::Time::seconds |
( |
|
) |
const [inline] |
| time_t AB::Time::toTime_t |
( |
|
) |
const [inline] |
| struct tm AB::Time::toTm |
( |
|
) |
const [inline, read] |
The documentation for this class was generated from the following file: