#include <tzfile.h>
constructs a time zone file which handles UTC as local time zone
TZFile::TZFile |
( |
QString |
tz | ) |
|
tries to find the zone tz in the search path, tz is always regarded as a relative file name
TZFile::TZFile |
( |
const char * |
tz | ) |
|
tries to find the zone tz in the search path, tz is always regarded as a relative file name
TZFile::TZFile |
( |
QIODevice & |
d | ) |
|
loads the time zone from the given device
TZFile::TZFile |
( |
const QByteArray & |
a | ) |
|
loads the time zone from the given byte array, the array must contain a complete time zone file
TZFile::TZFile |
( |
const TZFile & |
z | ) |
|
TZFile::TZFile |
( |
int |
offset | ) |
|
does not actually load a file, but constructs a virtual file that corresponds to a specific offset east of UTC in minutes
QString TZFile::builtinVersion |
( |
| ) |
|
|
static |
returns the built-in version of the Olson-DB
References builtinpath.
QList<TZRule> TimeZoneLib::TZFile::cachedRules |
( |
| ) |
const |
|
inline |
returns all currently cached rules that were auto-generated during the lifetime of this file object
QString TZFile::dirName |
( |
| ) |
const |
returns the DB directory name only
QString TimeZoneLib::TZFile::fileName |
( |
| ) |
const |
|
inline |
returns the full file name of the zone file, if known
QList<TZRule> TimeZoneLib::TZFile::fileRules |
( |
| ) |
const |
|
inline |
returns the list of rules that were encoded in the file
bool TimeZoneLib::TZFile::isValid |
( |
| ) |
const |
|
inline |
QString TZFile::libraryVersion |
( |
| ) |
|
|
static |
returns the library version
QString TimeZoneLib::TZFile::name |
( |
| ) |
const |
|
inline |
PosixRule TimeZoneLib::TZFile::posixRule |
( |
| ) |
const |
|
inline |
returns the fallback POSIX rule that was encoded in the file (or an invalid rule if there was none)
Referenced by scanFile().
TZRule TZFile::ruleForLocalTime |
( |
qint64 |
ts | ) |
|
TZRule TZFile::ruleForTime |
( |
qint64 |
ts | ) |
|
QStringList TZFile::searchPath |
( |
| ) |
|
|
static |
returns the search paths for time zone files
void TimeZoneLib::TZFile::setName |
( |
QString |
n | ) |
|
|
inline |
void TZFile::setSearchPath |
( |
const QStringList & |
s | ) |
|
|
static |
QString TZFile::version |
( |
| ) |
const |
tries to determine version info for this zone file
The documentation for this class was generated from the following files: