KCal Library
#include <icaltimezones.h>
Inherits KTimeZoneData.
Public Member Functions | |
ICalTimeZoneData () | |
ICalTimeZoneData (const ICalTimeZoneData &rhs) | |
ICalTimeZoneData (const KTimeZoneData &rhs, const KTimeZone &tz, const QDate &earliest) | |
virtual | ~ICalTimeZoneData () |
QString | city () const |
virtual KTimeZoneData * | clone () const |
virtual bool | hasTransitions () const |
icaltimezone * | icalTimezone () const |
QDateTime | lastModified () const |
ICalTimeZoneData & | operator= (const ICalTimeZoneData &rhs) |
QByteArray | url () const |
QByteArray | vtimezone () const |
Detailed Description
Parsed iCalendar VTIMEZONE data.
This class is used by the ICalTimeZoneSource class to pass parsed data to an ICalTimeZone intance.
Parsed iCalendar time zone data
- See also
- ICalTimeZone, ICalTimeZoneSource
Definition at line 434 of file icaltimezones.h.
Constructor & Destructor Documentation
KCal::ICalTimeZoneData::ICalTimeZoneData | ( | ) |
Default constructor.
Definition at line 318 of file icaltimezones.cpp.
KCal::ICalTimeZoneData::ICalTimeZoneData | ( | const ICalTimeZoneData & | rhs | ) |
Copy constructor.
- Parameters
-
rhs instance to copy from
Definition at line 323 of file icaltimezones.cpp.
KCal::ICalTimeZoneData::ICalTimeZoneData | ( | const KTimeZoneData & | rhs, |
const KTimeZone & | tz, | ||
const QDate & | earliest | ||
) |
Constructor which converts a KTimeZoneData to an ICalTimeZoneData instance.
If data
is for a system time zone (i.e. tz
is a KSystemTimeZone instance), the full time zone data is read from the system time zone database if possible; otherwise, the built-in libical time zone's data is used.
- Parameters
-
rhs KTimeZoneData instance tz time zone which rhs
belongs toearliest earliest date for which time zone data should be stored
Definition at line 333 of file icaltimezones.cpp.
|
virtual |
Destructor.
Definition at line 621 of file icaltimezones.cpp.
Member Function Documentation
QString KCal::ICalTimeZoneData::city | ( | ) | const |
Returns the name of the city for this time zone, if any.
There is no fixed format for the name.
- Returns
- city name
Definition at line 646 of file icaltimezones.cpp.
|
virtual |
Creates a new copy of this object.
The caller is responsible for deleting the copy.
- Returns
- copy of this instance
Definition at line 641 of file icaltimezones.cpp.
|
virtual |
Return whether daylight saving transitions are available for the time zone.
- Returns
true
Definition at line 683 of file icaltimezones.cpp.
icaltimezone * KCal::ICalTimeZoneData::icalTimezone | ( | ) | const |
Returns the ICal timezone structure which represents this time zone.
The caller is responsible for freeing the returned structure using icaltimezone_free().
- Returns
- icaltimezone structure
Definition at line 668 of file icaltimezones.cpp.
QDateTime KCal::ICalTimeZoneData::lastModified | ( | ) | const |
Returns the LAST-MODIFIED time of the VTIMEZONE, if any.
- Returns
- time, or QDateTime() if none
Definition at line 656 of file icaltimezones.cpp.
ICalTimeZoneData & KCal::ICalTimeZoneData::operator= | ( | const ICalTimeZoneData & | rhs | ) |
Assignment operator.
- Parameters
-
rhs instance to copy from
- Returns
- this instance
Definition at line 626 of file icaltimezones.cpp.
QByteArray KCal::ICalTimeZoneData::url | ( | ) | const |
Returns the URL of the published VTIMEZONE definition, if any.
- Returns
- URL
Definition at line 651 of file icaltimezones.cpp.
QByteArray KCal::ICalTimeZoneData::vtimezone | ( | ) | const |
Returns the VTIMEZONE string which represents this time zone.
- Returns
- VTIMEZONE string
Definition at line 661 of file icaltimezones.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:38:30 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.