KDECore
#include <ktzfiletimezone.h>
Public Member Functions | |
KTzfileTimeZoneBackend (KTzfileTimeZoneSource *source, const QString &name, const QString &countryCode, float latitude, float longitude, const QString &comment) | |
~KTzfileTimeZoneBackend () | |
virtual KTimeZoneBackend * | clone () const |
virtual bool | hasTransitions (const KTimeZone *caller) const |
virtual QByteArray | type () const |
Public Member Functions inherited from KTimeZoneBackend | |
KTimeZoneBackend () | |
KTimeZoneBackend (const QString &name) | |
KTimeZoneBackend (const KTimeZoneBackend &other) | |
virtual | ~KTimeZoneBackend () |
virtual bool | isDst (const KTimeZone *caller, time_t t) const |
virtual bool | isDstAtUtc (const KTimeZone *caller, const QDateTime &utcDateTime) const |
virtual int | offset (const KTimeZone *caller, time_t t) const |
virtual int | offsetAtUtc (const KTimeZone *caller, const QDateTime &utcDateTime) const |
virtual int | offsetAtZoneTime (const KTimeZone *caller, const QDateTime &zoneDateTime, int *secondOffset) const |
KTimeZoneBackend & | operator= (const KTimeZoneBackend &other) |
Additional Inherited Members | |
Protected Member Functions inherited from KTimeZoneBackend | |
KTimeZoneBackend (KTimeZoneSource *source, const QString &name, const QString &countryCode=QString(), float latitude=KTimeZone::UNKNOWN, float longitude=KTimeZone::UNKNOWN, const QString &comment=QString()) | |
Detailed Description
Backend class for KTzfileTimeZone class.
This class implements KTzfileTimeZone's constructors and virtual methods. A backend class is required for all classes inherited from KTimeZone to allow KTimeZone virtual methods to work together with reference counting of private data.
Backend class for KTzfileTimeZone class
- See also
- KTimeZoneBackend, KTzfileTimeZone, KTimeZone
Definition at line 89 of file ktzfiletimezone.h.
Constructor & Destructor Documentation
KTzfileTimeZoneBackend::KTzfileTimeZoneBackend | ( | KTzfileTimeZoneSource * | source, |
const QString & | name, | ||
const QString & | countryCode, | ||
float | latitude, | ||
float | longitude, | ||
const QString & | comment | ||
) |
Implements KTzfileTimeZone::KTzfileTimeZone().
Definition at line 57 of file ktzfiletimezone.cpp.
KTzfileTimeZoneBackend::~KTzfileTimeZoneBackend | ( | ) |
Definition at line 62 of file ktzfiletimezone.cpp.
Member Function Documentation
|
virtual |
Creates a copy of this instance.
- Returns
- new copy
Reimplemented from KTimeZoneBackend.
Definition at line 65 of file ktzfiletimezone.cpp.
Implements KTzfileTimeZone::hasTransitions().
Returns whether daylight saving transitions are available for the time zone.
- Parameters
-
caller calling KTzfileTimeZone object
- Returns
true
Reimplemented from KTimeZoneBackend.
Definition at line 75 of file ktzfiletimezone.cpp.
|
virtual |
Returns the class name of the data represented by this instance.
- Returns
- "KTzfileTimeZone"
Reimplemented from KTimeZoneBackend.
Definition at line 70 of file ktzfiletimezone.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.