# class KTimeZoneBackend

###

Module | kdecore
Namespace |
Class | KTimeZoneBackend
Inherits |

### methods

- KTimeZoneBackend ( )

  returns ctor

  Implements KTimeZone.KTimeZone().

- KTimeZoneBackend (name)

  returns ctor
  KDE 4.1.0 and later only

  Argument | Type | Default
  --- | --- | ---
  name | QString |

  Implements KTimeZone.KTimeZone(const QString&).

- KTimeZoneBackend (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | KTimeZoneBackend |

- KTimeZoneBackend (source, name, countryCode, latitude, longitude, comment)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  source | KTimeZoneSource |
  name | QString |
  countryCode | QString | QString()
  latitude | float | KTimeZone.UNKNOWN
  longitude | float | KTimeZone.UNKNOWN
  comment | QString | 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

- KTimeZoneBackend (a0)

  returns ctor
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QString |

- clone ( )

  returns KTimeZoneBackend

  Creates a copy of this instance.

  Every inherited class must reimplement clone().

  Returns new copy

- hasTransitions (caller)

  returns bool

  Argument | Type | Default
  --- | --- | ---
  caller | KTimeZone |

  Implements KTimeZone.hasTransitions().

  caller - calling KTimeZone object

- isDst (caller, t)

  returns bool

  Argument | Type | Default
  --- | --- | ---
  caller | KTimeZone |
  t | time_t |

  Implements KTimeZone.isDst().

  caller - calling KTimeZone object

- isDstAtUtc (caller, utcDateTime)

  returns bool

  Argument | Type | Default
  --- | --- | ---
  caller | KTimeZone |
  utcDateTime | QDateTime |

  Implements KTimeZone.isDstAtUtc().

  caller - calling KTimeZone object

- offset (caller, t)

  returns int

  Argument | Type | Default
  --- | --- | ---
  caller | KTimeZone |
  t | time_t |

  Implements KTimeZone.offset().

  caller - calling KTimeZone object

- offsetAtUtc (caller, utcDateTime)

  returns int

  Argument | Type | Default
  --- | --- | ---
  caller | KTimeZone |
  utcDateTime | QDateTime |

  Implements KTimeZone.offsetAtUtc().

  caller - calling KTimeZone object

- offsetAtZoneTime (caller, zoneDateTime)

  returns int, int (secondOffset)

  Argument | Type | Default
  --- | --- | ---
  caller | KTimeZone |
  zoneDateTime | QDateTime |

  Implements KTimeZone.offsetAtZoneTime().

  caller - calling KTimeZone object

- type ( )

  returns QByteArray

  Returns the class name of the data represented by this instance.

  Every inherited class must reimplement type().

  Returns "KTimeZone" for this base class.