KABC::TimeZone Class Reference
Time zone information. More...
#include <timezone.h>
Public Methods | |
TimeZone () | |
Construct invalid time zone. | |
TimeZone (int offset) | |
Construct time zone. | |
void | setOffset (int) |
Set time zone offset relative to UTC. | |
int | offset () const |
Return offset in minutes relative to UTC. | |
bool | isValid () const |
Return, if this time zone object is valid. | |
QString | asString () const |
Return string representation of time zone offset. |
Detailed Description
Time zone information.This class stores information about a time zone.
Definition at line 33 of file timezone.h.
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
|
Set time zone offset relative to UTC.
Definition at line 37 of file timezone.cpp. References offset(). |
|
Return offset in minutes relative to UTC.
Definition at line 43 of file timezone.cpp. Referenced by setOffset(). |
|
Return, if this time zone object is valid.
Definition at line 48 of file timezone.cpp. |
|
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: