kabc
KABC::TimeZone Class Reference
Time zone information. More...
#include <timezone.h>
Public Member Functions | |
| bool | isValid () const |
| int | offset () const |
| bool | operator!= (const TimeZone &) const |
| TimeZone & | operator= (const TimeZone &other) |
| bool | operator== (const TimeZone &) const |
| void | setOffset (int offset) |
| TimeZone (const TimeZone &other) | |
| TimeZone (int offset) | |
| TimeZone () | |
| QString | toString () const |
| ~TimeZone () | |
Friends | |
| QDataStream & | operator<< (QDataStream &, const TimeZone &) |
| 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 | ( | ) |
| TimeZone::TimeZone | ( | int | offset | ) |
Construct time zone.
- Parameters:
-
offset Offset in minutes relative to UTC.
Definition at line 52 of file timezone.cpp.
| TimeZone::TimeZone | ( | const TimeZone & | other | ) |
| TimeZone::~TimeZone | ( | ) |
Member Function Documentation
| bool TimeZone::isValid | ( | ) | const |
| int TimeZone::offset | ( | ) | const |
| void TimeZone::setOffset | ( | int | offset | ) |
Set time zone offset relative to UTC.
- Parameters:
-
offset Offset in minutes.
Definition at line 66 of file timezone.cpp.
| QString TimeZone::toString | ( | ) | const |
Friends And Related Function Documentation
| QDataStream& operator<< | ( | QDataStream & | , | |
| const TimeZone & | ||||
| ) | [friend] |
Serializes the timezone object into the stream.
| QDataStream& operator>> | ( | QDataStream & | , | |
| TimeZone & | ||||
| ) | [friend] |
Initializes the timezone object from the stream.
The documentation for this class was generated from the following files:
KDE 4.3 API Reference