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.
|
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 KTimeZone *caller, const QDateTime &utc) |
|
static bool | is_dst (const TIME_ZONE_INFORMATION &tzi, const QDateTime &utc, int year) |
|
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 KTimeZone *caller, int year) |
|
Transitions | transitions (const TIME_ZONE_INFORMATION &tz, 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) |
|
◆ COPY
#define COPY |
( |
|
name | ) |
data->_tzi.name = tzi.name |
◆ lpLocalTime
◆ lpUniversalTime
◆ BOOL()
◆ check_local()
◆ check_prereq()
◆ check_utc()
◆ difference()
◆ effective_offset()
static int effective_offset |
( |
const TIME_ZONE_INFORMATION & |
tz, |
|
|
bool |
isDst |
|
) |
| |
|
static |
◆ find_nth_weekday_in_month_of_year()
static QDate find_nth_weekday_in_month_of_year |
( |
int |
nth, |
|
|
int |
dayOfWeek, |
|
|
int |
month, |
|
|
int |
year |
|
) |
| |
|
static |
◆ get_binary_value()
◆ get_string_value()
◆ getWinZoneName()
◆ has_transition()
◆ is_dst() [1/2]
◆ is_dst() [2/2]
◆ list_key()
◆ list_standard_names()
◆ offset_at_utc()
◆ offset_at_zone_time()
◆ pathFromZoneName()
◆ qdatetime_to_systemtime()
◆ qstring_to_tchar()
◆ qstring_to_tcharstring()
◆ qt_dayofweek_to_win_dayofweek()
static int qt_dayofweek_to_win_dayofweek |
( |
int |
qdow | ) |
|
|
static |
◆ systemtime_to_qdatetime()
◆ tchar_to_qstring()
◆ transition()
◆ transitions() [1/2]
◆ transitions() [2/2]
Transitions transitions |
( |
const TIME_ZONE_INFORMATION & |
tz, |
|
|
int |
year |
|
) |
| |
◆ TzSpecificLocalTimeToSystemTime_Portable()
◆ win_dayofweek_to_qt_dayofweek()
static int win_dayofweek_to_qt_dayofweek |
( |
int |
wdow | ) |
|
|
static |
◆ MAX_KEY_LENGTH
const int MAX_KEY_LENGTH = 255 |
|
static |
◆ OneHour
◆ pTzSpecificLocalTimeToSystemTime
◆ timeZonesKey
◆ ZoneTbl
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Jul 20 2023 00:00:00 by
doxygen 1.9.8 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.