• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

kabc

KABC::TimeZone

KABC::TimeZone Class Reference

Time zone information. More...

#include <timezone.h>

List of all members.


Public Member Functions

 TimeZone ()
 TimeZone (int offset)
void setOffset (int offset)
int offset () const
bool isValid () const
bool operator== (const TimeZone &) const
bool operator!= (const TimeZone &) const
QString asString () const

Friends

KABC_EXPORT QDataStream & operator<< (QDataStream &, const TimeZone &)
KABC_EXPORT QDataStream & operator>> (QDataStream &, TimeZone &)

Detailed Description

Time zone information.

This class stores information about a time zone.

Definition at line 35 of file timezone.h.


Constructor & Destructor Documentation

TimeZone::TimeZone (  ) 

Construct invalid time zone.

Definition at line 27 of file timezone.cpp.

TimeZone::TimeZone ( int  offset  ) 

Construct time zone.

Parameters:
offset Offset in minutes relative to UTC.

Definition at line 32 of file timezone.cpp.


Member Function Documentation

QString TimeZone::asString (  )  const

Return string representation of time zone offset.

Definition at line 69 of file timezone.cpp.

bool TimeZone::isValid (  )  const

Return, if this time zone object is valid.

Definition at line 48 of file timezone.cpp.

int TimeZone::offset (  )  const

Return offset in minutes relative to UTC.

Definition at line 43 of file timezone.cpp.

void TimeZone::setOffset ( int  offset  ) 

Set time zone offset relative to UTC.

Parameters:
offset Offset in minutes.

Definition at line 37 of file timezone.cpp.


The documentation for this class was generated from the following files:
  • timezone.h
  • timezone.cpp

kabc

Skip menu "kabc"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal