KDECore
KTzfileTimeZone Class Reference
#include <ktzfiletimezone.h>
Inheritance diagram for KTzfileTimeZone:
Additional Inherited Members | |
Static Public Member Functions inherited from KTimeZone | |
| static QDateTime | fromTime_t (time_t t) |
| static time_t | toTime_t (const QDateTime &utcDateTime) |
| static KTimeZone | utc () |
Static Public Attributes inherited from KTimeZone | |
| static const int | InvalidOffset = 0x80000000 |
| static const time_t | InvalidTime_t = 0x80000000 |
| static const float | UNKNOWN = 1000.0 |
Protected Member Functions inherited from KTimeZone | |
| KTimeZone (KTimeZoneBackend *impl) | |
| void | setData (KTimeZoneData *data, KTimeZoneSource *source=0) |
Detailed Description
The KTzfileTimeZone class represents a time zone defined in tzfile(5) format.
It works in partnership with the KTzfileTimeZoneSource class which reads and parses the time zone definition files.
Represents a time zone defined in tzfile(5) format
Definition at line 50 of file ktzfiletimezone.h.
Constructor & Destructor Documentation
◆ KTzfileTimeZone()
| KTzfileTimeZone::KTzfileTimeZone | ( | KTzfileTimeZoneSource * | source, |
| const QString & | name, | ||
| const QString & | countryCode = QString(), | ||
| float | latitude = UNKNOWN, | ||
| float | longitude = UNKNOWN, | ||
| const QString & | comment = QString() ) |
Creates a time zone.
- Parameters
-
source tzfile reader and parser name time zone's unique name, which must be the tzfile path relative to the location specified for sourcecountryCode ISO 3166 2-character country code, empty if unknown latitude in degrees (between -90 and +90), UNKNOWN if not known longitude in degrees (between -180 and +180), UNKNOWN if not known comment description of the time zone, if any
Definition at line 84 of file ktzfiletimezone.cpp.
◆ ~KTzfileTimeZone()
| KTzfileTimeZone::~KTzfileTimeZone | ( | ) |
Definition at line 90 of file ktzfiletimezone.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
Public Member Functions inherited from