KDECore
#include "ktimezone_win.h"
#include <config.h>
#include <kdebug.h>
#include <QStringList>
#include <QLibrary>
#include <windows.h>
#include <memory>
#include <string>
#include <cassert>
Go to the source code of this file.
Macros | |
#define | COPY(name) data->_tzi.name = tzi.name |
Typedefs | |
typedef LPSYSTEMTIME | lpLocalTime |
typedef LPSYSTEMTIME LPSYSTEMTIME | lpUniversalTime |
Functions | |
typedef | BOOL (WINAPI *PtrTzSpecificLocalTimeToSystemTime)(LPTIME_ZONE_INFORMATION lpTimeZoneInformation |
static bool | check_local (const KTimeZone *caller, const QDateTime &dt) |
static bool | check_prereq (const KTimeZone *caller, const QDateTime &dt, Qt::TimeSpec spec) |
static bool | check_utc (const KTimeZone *caller, const QDateTime &dt) |
static int | difference (const SYSTEMTIME &st1, const SYSTEMTIME &st2) |
static int | effective_offset (const TIME_ZONE_INFORMATION &tz, bool isDst) |
static QDate | find_nth_weekday_in_month_of_year (int nth, int dayOfWeek, int month, int year) |
static bool | get_binary_value (HKEY key, const TCHAR *value, void *data, DWORD numData, DWORD *outNumData=0) |
static bool | get_string_value (HKEY key, const TCHAR *value, TCHAR *dest, DWORD destSizeInBytes) |
static QString | getWinZoneName (const QString &name) |
static bool | has_transition (const TIME_ZONE_INFORMATION &tz) |
static bool | is_dst (const TIME_ZONE_INFORMATION &tzi, const QDateTime &utc, int year) |
static bool | is_dst (const KTimeZone *caller, const QDateTime &utc) |
static QStringList | list_key (HKEY key) |
static QStringList | list_standard_names () |
static int | offset_at_utc (const KTimeZone *caller, const QDateTime &utc) |
static int | offset_at_zone_time (const KTimeZone *caller, const SYSTEMTIME &zone, int *secondOffset) |
static std::basic_string< TCHAR > | pathFromZoneName (const KTimeZone &zone) |
static SYSTEMTIME | qdatetime_to_systemtime (const QDateTime &dt) |
static const TCHAR * | qstring_to_tchar (const QString &str) |
static std::basic_string< TCHAR > | qstring_to_tcharstring (const QString &str) |
static int | qt_dayofweek_to_win_dayofweek (int qdow) |
static QDateTime | systemtime_to_qdatetime (const SYSTEMTIME &st) |
static QString | tchar_to_qstring (const TCHAR *str) |
static QDateTime | transition (const SYSTEMTIME &st, int year) |
Transitions | transitions (const TIME_ZONE_INFORMATION &tz, int year) |
Transitions | transitions (const KTimeZone *caller, int year) |
static bool | TzSpecificLocalTimeToSystemTime_Portable (TIME_ZONE_INFORMATION *tz, SYSTEMTIME *i_stLocal, SYSTEMTIME *o_stUniversal) |
static int | win_dayofweek_to_qt_dayofweek (int wdow) |
Variables | |
static const int | MAX_KEY_LENGTH = 255 |
static const int | OneHour = 3600 |
static PtrTzSpecificLocalTimeToSystemTime | pTzSpecificLocalTimeToSystemTime = 0 |
static const TCHAR | timeZonesKey [] = TEXT("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Time Zones") |
static const ZoneKey | ZoneTbl [] |
Macro Definition Documentation
#define COPY | ( | name | ) | data->_tzi.name = tzi.name |
Typedef Documentation
typedef LPSYSTEMTIME lpLocalTime |
Definition at line 148 of file ktimezone_win.cpp.
typedef LPSYSTEMTIME LPSYSTEMTIME lpUniversalTime |
Definition at line 148 of file ktimezone_win.cpp.
Function Documentation
typedef BOOL | ( | WINAPI * | PtrTzSpecificLocalTimeToSystemTime | ) |
Definition at line 320 of file ktimezone_win.cpp.
|
static |
Definition at line 316 of file ktimezone_win.cpp.
Definition at line 324 of file ktimezone_win.cpp.
|
static |
Definition at line 598 of file ktimezone_win.cpp.
|
static |
Definition at line 578 of file ktimezone_win.cpp.
|
static |
Definition at line 342 of file ktimezone_win.cpp.
|
static |
Definition at line 284 of file ktimezone_win.cpp.
|
static |
Definition at line 297 of file ktimezone_win.cpp.
Definition at line 136 of file ktimezone_win.cpp.
|
static |
Definition at line 328 of file ktimezone_win.cpp.
Definition at line 560 of file ktimezone_win.cpp.
Definition at line 570 of file ktimezone_win.cpp.
|
static |
Definition at line 378 of file ktimezone_win.cpp.
|
static |
Definition at line 394 of file ktimezone_win.cpp.
Definition at line 588 of file ktimezone_win.cpp.
|
static |
Definition at line 602 of file ktimezone_win.cpp.
|
static |
Definition at line 431 of file ktimezone_win.cpp.
|
static |
Definition at line 208 of file ktimezone_win.cpp.
|
inlinestatic |
Definition at line 192 of file ktimezone_win.cpp.
|
inlinestatic |
Definition at line 196 of file ktimezone_win.cpp.
|
static |
Definition at line 337 of file ktimezone_win.cpp.
|
inlinestatic |
Definition at line 203 of file ktimezone_win.cpp.
|
inlinestatic |
Definition at line 188 of file ktimezone_win.cpp.
|
static |
Definition at line 357 of file ktimezone_win.cpp.
Transitions transitions | ( | const TIME_ZONE_INFORMATION & | tz, |
int | year | ||
) |
Definition at line 368 of file ktimezone_win.cpp.
Transitions transitions | ( | const KTimeZone * | caller, |
int | year | ||
) |
Definition at line 556 of file ktimezone_win.cpp.
|
static |
Definition at line 224 of file ktimezone_win.cpp.
|
static |
Definition at line 332 of file ktimezone_win.cpp.
Variable Documentation
|
static |
Definition at line 376 of file ktimezone_win.cpp.
|
static |
Definition at line 596 of file ktimezone_win.cpp.
|
static |
Definition at line 151 of file ktimezone_win.cpp.
|
static |
Definition at line 202 of file ktimezone_win.cpp.
|
static |
Definition at line 41 of file ktimezone_win.cpp.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.