class KTimeZoneBackend |
|
|
Base backend class for KTimeZone classes. KTimeZone and each class inherited from it must have a corresponding backend class to implement its constructors and its virtual methods, and to provide a virtual clone() method. This allows KTimeZone virtual methods to work together with reference counting of private data. Classes derived from KTimeZoneBackend should not normally implement their own copy constructor or assignment operator, and must have a non-const d-pointer. Base backend class for KTimeZone classes
See also KTimeZone
Author David Jarvie |
|
Implements KTimeZone.KTimeZone(). |
|
Implements KTimeZone.KTimeZone(const QString&). |
|
|
Constructs a time zone.
source - reader/parser for the database containing this time zone. This will be an instance of a class derived from KTimeZoneSource. name - in system-dependent format. The name must be unique within any KTimeZones instance which contains this KTimeZone. countryCode - 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 |
|
Creates a copy of this instance. Every inherited class must reimplement clone(). Returns new copy |
|
Implements KTimeZone.hasTransitions().
caller - calling KTimeZone object |
|
Implements KTimeZone.isDst().
caller - calling KTimeZone object |
|
Implements KTimeZone.isDstAtUtc().
caller - calling KTimeZone object |
|
Implements KTimeZone.offset().
caller - calling KTimeZone object |
|
Implements KTimeZone.offsetAtUtc().
caller - calling KTimeZone object |
|
Implements KTimeZone.offsetAtZoneTime().
caller - calling KTimeZone object |
|
Returns the class name of the data represented by this instance. Every inherited class must reimplement type(). Returns "KTimeZone" for this base class. |