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
|
Construct invalid time zone.
Definition at line 27 of file timezone.cpp. |
|
Construct time zone.
Definition at line 32 of file timezone.cpp. |
Member Function Documentation
|
Return string representation of time zone offset.
Definition at line 69 of file timezone.cpp. |
|
Return, if this time zone object is valid.
Definition at line 48 of file timezone.cpp. |
|
Return offset in minutes relative to UTC.
Definition at line 43 of file timezone.cpp. |
|
Set time zone offset relative to UTC.
Definition at line 37 of file timezone.cpp. |
The documentation for this class was generated from the following files: