KABC::TimeZone Class Reference
#include <timezone.h>
Detailed Description
Time zone information.This class stores information about a time zone.
Definition at line 35 of file timezone.h.
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 &) |
Constructor & Destructor Documentation
| TimeZone::TimeZone | ( | ) |
| 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.
| int TimeZone::offset | ( | ) | const |
| bool TimeZone::isValid | ( | ) | const |
| QString TimeZone::asString | ( | ) | const |
The documentation for this class was generated from the following files:

