|KTimeZoneData *||parse (const KTimeZone &zone) const override|
|Public Member Functions inherited from KTimeZoneSource|
|bool||useZoneParse () const|
|static void||endParseBlock ()|
|static void||startParseBlock ()|
|Protected Member Functions inherited from KTimeZoneSource|
|KDELIBS4SUPPORT_DEPRECATED||KTimeZoneSource (bool useZoneParse)|
A class to read and parse system time zone data.
Access is performed via the system time zone library functions.
Reads and parses system time zone data
Constructor & Destructor Documentation
Member Function Documentation
Extract detailed information for one time zone, via the system time zone library functions.
zone the time zone for which data is to be extracted
- a KSystemTimeZoneData instance containing the parsed data. The caller is responsible for deleting the KTimeZoneData instance. Null is returned on error.
Reimplemented from KTimeZoneSource.
Reimplemented in KSystemTimeZoneSourceWindows.
The effect of calling these methods is to save and restore the TZ environment variable only once before and after the group of parse() calls, rather than before and after every call. So, between calls to startParseBlock() and endParseBlock(), do not call any functions which rely directly or indirectly on the local time zone setting.
The documentation for this class was generated from the following files: