|KDELIBS4SUPPORT_DEPRECATED||KTzfileTimeZoneSource (const QString &location)|
|QString||location () const|
|KTimeZoneData *||parse (const KTimeZone &zone) const override|
|Public Member Functions inherited from KTimeZoneSource|
|bool||useZoneParse () const|
|Protected Member Functions inherited from KTimeZoneSource|
|KDELIBS4SUPPORT_DEPRECATED||KTimeZoneSource (bool useZoneParse)|
A class to read and parse tzfile time zone definition files.
tzfile is the format used by zoneinfo files in the system time zone database. The format is documented in the tzfile(5) manpage.
Reads and parses tzfile(5) time zone definition files
Constructor & Destructor Documentation
Constructs a time zone source.
The directory containing the time zone definition files is given by the
location parameter, which will usually be the zoneinfo directory. For tzfile files in other locations, bear in mind that the name generated for each KTzfileTimeZone is its file path relative to
location the local directory containing the time zone definition files
Member Function Documentation
Parses a tzfile file to extract detailed information for one time zone.
zone the time zone for which data is to be extracted
- a KTzfileTimeZoneData instance containing the parsed data. The caller is responsible for deleting the KTimeZoneData instance. Null is returned on error.
Reimplemented from KTimeZoneSource.
The documentation for this class was generated from the following files: