Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KABC::TimeZone Class Reference

Time zone information. More...

#include <timezone.h>

List of all members.

Public Methods

 TimeZone ()
 TimeZone (int offset)
void setOffset (int)
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

KABC::TimeZone::TimeZone (    ) 
 

Construct invalid time zone.

KABC::TimeZone::TimeZone (  int    offset ) 
 

Construct time zone.

Parameters:
offset  Offset in minutes relative to UTC.


Member Function Documentation

QString KABC::TimeZone::asString (    ) 
 

Return string representation of time zone offset.

bool KABC::TimeZone::isValid (    ) 
 

Return, if this time zone object is valid.

int KABC::TimeZone::offset (    ) 
 

Return offset in minutes relative to UTC.

void KABC::TimeZone::setOffset (  int    ) 
 

Set time zone offset relative to UTC.

Parameters:
offset  Offset in minutes.


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:32 2003 for kdelibs by doxygen1.2.18