KDECore
#include <ksystemtimezone.h>
Additional Inherited Members | |
Protected Member Functions inherited from KTimeZoneData | |
void | setLeapSecondChanges (const QList< KTimeZone::LeapSeconds > &adjusts) |
void | setPhases (const QList< KTimeZone::Phase > &phases, const KTimeZone::Phase &previousPhase) |
void | setPhases (const QList< KTimeZone::Phase > &phases, int previousUtcOffset) |
void | setTransitions (const QList< KTimeZone::Transition > &transitions) |
Detailed Description
Parsed system time zone data.
The parsed system time zone data returned by KSystemTimeZoneSource.
- See also
- KSystemTimeZoneSource, KSystemTimeZone
Definition at line 492 of file ksystemtimezone.h.
Constructor & Destructor Documentation
KSystemTimeZoneData::KSystemTimeZoneData | ( | ) |
Definition at line 819 of file ksystemtimezone.cpp.
KSystemTimeZoneData::KSystemTimeZoneData | ( | const KSystemTimeZoneData & | rhs | ) |
Copy constructor; no special ownership assumed.
Definition at line 823 of file ksystemtimezone.cpp.
|
virtual |
Definition at line 830 of file ksystemtimezone.cpp.
Member Function Documentation
|
virtual |
Returns the time zone abbreviation current at a specified time.
- Parameters
-
utcDateTime UTC date/time. An error occurs if utcDateTime.timeSpec()
is not Qt::UTC.
- Returns
- time zone abbreviation, or empty string if error
- See also
- abbreviations()
Reimplemented from KTimeZoneData.
Definition at line 852 of file ksystemtimezone.cpp.
|
virtual |
Returns the complete list of time zone abbreviations.
- Returns
- the list of abbreviations
Reimplemented from KTimeZoneData.
Definition at line 847 of file ksystemtimezone.cpp.
|
virtual |
Creates a new copy of this object.
The caller is responsible for deleting the copy. Derived classes must reimplement this method to return a copy of the calling instance
- Returns
- copy of this instance. This is a KSystemTimeZoneData pointer.
Reimplemented from KTimeZoneData.
Definition at line 842 of file ksystemtimezone.cpp.
KSystemTimeZoneData & KSystemTimeZoneData::operator= | ( | const KSystemTimeZoneData & | rhs | ) |
Assignment; no special ownership assumed.
Everything is value based.
Definition at line 835 of file ksystemtimezone.cpp.
|
virtual |
Returns the complete list of UTC offsets for the time zone.
For system time zones, significant processing would be required to obtain such a list, so instead an empty list is returned.
- Returns
- empty list
Reimplemented from KTimeZoneData.
Definition at line 888 of file ksystemtimezone.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:13 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.