edelib 2.0.0
|
A class for getting time from desired time zone. More...
#include </usr/src/RPM/BUILD/edelib-2.0/edelib/DateTime.h>
Public Member Functions | |
TimeZone () | |
~TimeZone () | |
bool | set (const char *n) |
const char * | code (void) |
const char * | zone (void) |
unsigned long | time (void) |
A class for getting time from desired time zone.
TimeZone | ( | ) |
Empty constructor
~TimeZone | ( | ) |
Clears internal data
const char* code | ( | void | ) | [inline] |
Return code from set zone
bool set | ( | const char * | n | ) |
Set zone. Previously set zone (and it's data) will be cleared replacing with the current one
unsigned long time | ( | void | ) | [inline] |
Return time from given zone. Time is encoded number (same as time_t type) so it can be used with various time functions that accepts time_t type
const char* zone | ( | void | ) | [inline] |
Return zone name