kabc Library API Documentation

KABC::TimeZone Class Reference

Time zone information. More...

#include <timezone.h>

List of all members.

Public Methods

 TimeZone ()
 TimeZone (int offset)
void setOffset (int offset)
int offset () const
bool isValid () const
QString asString () const


Detailed Description

Time zone information.

This class stores information about a time zone.

Definition at line 33 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

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.

References offset().

int TimeZone::offset  
 

Return offset in minutes relative to UTC.

Definition at line 43 of file timezone.cpp.

Referenced by setOffset().

bool TimeZone::isValid  
 

Return, if this time zone object is valid.

Definition at line 48 of file timezone.cpp.

QString TimeZone::asString  
 

Return string representation of time zone offset.

Definition at line 69 of file timezone.cpp.

References QString::number().

Referenced by KABC::Addressee::dump().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kabc Library Version 3.2.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Feb 4 12:36:46 2004 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2003