SGTimeZone is derived from geocoord, and stores the timezone centerpoint, as well as the countrycode and the timezone descriptor. More...
#include <timezone.h>
Inherits SGGeoCoord.
Public Member Functions | |
SGTimeZone () | |
Default constructor. | |
SGTimeZone (float la, float lo, char *cc, char *desc) | |
Build a timezone object with a specifed latitude, longitude, country code, and descriptor. | |
SGTimeZone (const char *infoString) | |
Build a timezone object from a textline in zone.tab. | |
SGTimeZone (const SGTimeZone &other) | |
The copy constructor. | |
virtual | ~SGTimeZone () |
Virutal destructor. | |
virtual const char * | getDescription () |
Return the descriptor string. |
SGTimeZone is derived from geocoord, and stores the timezone centerpoint, as well as the countrycode and the timezone descriptor.
The latter is used in order to get the local time.
Definition at line 42 of file timezone.h.
SGTimeZone::SGTimeZone | ( | float | la, | |
float | lo, | |||
char * | cc, | |||
char * | desc | |||
) |
Build a timezone object with a specifed latitude, longitude, country code, and descriptor.
la | latitude | |
lo | longitude | |
cc | country code | |
desc | descriptor |
Definition at line 37 of file timezone.cxx.
SGTimeZone::SGTimeZone | ( | const char * | infoString | ) |
Build a timezone object from a textline in zone.tab.
infoString | the textline from zone.tab |
Definition at line 45 of file timezone.cxx.
SGTimeZone::SGTimeZone | ( | const SGTimeZone & | other | ) |
The copy constructor.
other | the source object |
Definition at line 116 of file timezone.cxx.
virtual const char* SGTimeZone::getDescription | ( | ) | [inline, virtual] |
Return the descriptor string.
Definition at line 92 of file timezone.h.