KDECore
ktzfiletimezone.cpp
Go to the documentation of this file.
57 KTzfileTimeZoneBackend::KTzfileTimeZoneBackend(KTzfileTimeZoneSource *source, const QString &name,
213 // kDebug() << "header: " << nIsUtc << ", " << nIsStandard << ", " << nLeapSecondAdjusts << ", " <<
219 qint32 time; // time (as returned by time(2)) at which the rules for computing local time change
231 //kDebug() << "Transition time "<<i<<": "<<transitionTimes[i].time<<" lt index="<<(int)transitionTimes[i].localTimeIndex;
390 kError() << "KTzfileTimeZoneSource::parse(): transition ignored: local time type out of range: " <<(int)tt->localTimeIndex<<" > "<<nLocalTimeTypes << endl;
397 //kDebug(161) << "Transition time "<<i<<": "<<fromTime_t(tt->time)<<", offset="<<phase.utcOffset()/60;
402 //kDebug(161) << "Transition time "<<xxx<<": "<<data->transitions()[xxx].time()<<", offset="<<data->transitions()[xxx].phase().utcOffset()/60;
virtual KTimeZoneData * clone() const
Creates a new copy of this object.
Definition: ktzfiletimezone.cpp:123
virtual ~KTzfileTimeZoneData()
Definition: ktzfiletimezone.cpp:112
virtual bool hasTransitions(const KTimeZone *caller) const
Implements KTzfileTimeZone::hasTransitions().
Definition: ktzfiletimezone.cpp:75
void setPhases(const QList< KTimeZone::Phase > &phases, const KTimeZone::Phase &previousPhase)
Initialise the daylight savings time phase list.
Definition: ktimezone.cpp:1232
KTzfileTimeZoneBackend(KTzfileTimeZoneSource *source, const QString &name, const QString &countryCode, float latitude, float longitude, const QString &comment)
Implements KTzfileTimeZone::KTzfileTimeZone().
Definition: ktzfiletimezone.cpp:57
Base class for the parsed data returned by a KTimeZoneSource class.
Definition: ktimezone.h:1302
Transitions transitions(const TIME_ZONE_INFORMATION &tz, int year)
Definition: ktimezone_win.cpp:368
Parsed data from tzfile(5) time zone definition files.
Definition: ktzfiletimezone.h:185
void setLeapSecondChanges(const QList< KTimeZone::LeapSeconds > &adjusts)
Initialise the leap seconds adjustment list.
Definition: ktimezone.cpp:1380
void setTransitions(const QList< KTimeZone::Transition > &transitions)
Initialise the daylight savings time transition list.
Definition: ktimezone.cpp:1261
virtual KTimeZoneBackend * clone() const
Creates a copy of this instance.
Definition: ktzfiletimezone.cpp:65
Definition: ktimezone.h:429
virtual KTimeZoneData * parse(const KTimeZone &zone) const
Parses a tzfile file to extract detailed information for one time zone.
Definition: ktzfiletimezone.cpp:164
virtual ~KTzfileTimeZoneSource()
Definition: ktzfiletimezone.cpp:154
virtual bool hasTransitions() const
Return whether daylight saving transitions are available for the time zone.
Definition: ktzfiletimezone.cpp:128
Definition: ktimezone.h:560
~KTzfileTimeZoneBackend()
Definition: ktzfiletimezone.cpp:62
virtual QByteArray type() const
Returns the class name of the data represented by this instance.
Definition: ktzfiletimezone.cpp:70
KTzfileTimeZoneSource(const QString &location)
Constructs a time zone source.
Definition: ktzfiletimezone.cpp:147
QString location() const
Returns the local directory containing the time zone definition files.
Definition: ktzfiletimezone.cpp:159
KTzfileTimeZoneData & operator=(const KTzfileTimeZoneData &)
Definition: ktzfiletimezone.cpp:117
KTimeZoneData & operator=(const KTimeZoneData &c)
Definition: ktimezone.cpp:1164
Definition: ktimezone.h:513
KTzfileTimeZone(KTzfileTimeZoneSource *source, const QString &name, const QString &countryCode=QString(), float latitude=UNKNOWN, float longitude=UNKNOWN, const QString &comment=QString())
Creates a time zone.
Definition: ktzfiletimezone.cpp:84
TZFILE time zone functions.
A class to read and parse tzfile time zone definition files.
Definition: ktzfiletimezone.h:138
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.