#include <timezone.h>
Inheritance diagram for SGTimeZone:

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. | |
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.
References SGGeoCoord::lat, and SGGeoCoord::lon.
| SGTimeZone::SGTimeZone | ( | const SGTimeZone & | other | ) |
The copy constructor.
| other | the source object |
Definition at line 116 of file timezone.cxx.
References countryCode, descriptor, SGGeoCoord::getLat(), SGGeoCoord::getLon(), SGGeoCoord::lat, and SGGeoCoord::lon.
| virtual const char* SGTimeZone::getDescription | ( | ) | [inline, virtual] |
Return the descriptor string.
Reimplemented from SGGeoCoord.
Definition at line 92 of file timezone.h.
1.5.1