TimeZone Class Reference

A class for getting time from desired time zone. More...

#include <edelib/DateTime.h>

List of all members.

Public Member Functions

 TimeZone ()
 ~TimeZone ()
bool set (const char *zone)
const char * code (void)
const char * zone (void)
unsigned long time (void)


Detailed Description

A class for getting time from desired time zone.

Constructor & Destructor Documentation

TimeZone (  ) 

Empty constructor

~TimeZone (  ) 

Clears internal data


Member Function Documentation

const char* code ( void   )  [inline]

Return code from set zone

bool set ( const char *  zone  ) 

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


The documentation for this class was generated from the following file:

Generated on Thu Dec 24 05:12:27 2009 for edelib by  doxygen 1.5.9