Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qtimezoneprivate_win.cpp File Reference

(fccf6cfdd2f32b15288984d11648ac51f338c62a)

#include "qtimezone.h"
#include "qtimezoneprivate_p.h"
#include "qdatetime.h"
#include "qdebug.h"
#include <private/qnumeric_p.h>
#include <algorithm>
#include <private/qwinregistry_p.h>
+ Include dependency graph for qtimezoneprivate_win.cpp:

Go to the source code of this file.

Classes

struct  _REG_TZI_FORMAT
 

Macros

#define MAX_KEY_LENGTH   255
 

Typedefs

typedef struct _REG_TZI_FORMAT REG_TZI_FORMAT
 

Variables

static const wchar_t tzRegPath [] = LR"(SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones)"
 
static const wchar_t currTzRegPath [] = LR"(SYSTEM\CurrentControlSet\Control\TimeZoneInformation)"
 
constexpr qint64 MSECS_PER_DAY = 86400000LL
 
constexpr qint64 JULIAN_DAY_FOR_EPOCH = 2440588LL
 
constexpr int FIRST_DST_YEAR = 1900
 

Macro Definition Documentation

◆ MAX_KEY_LENGTH

#define MAX_KEY_LENGTH   255

Definition at line 26 of file qtimezoneprivate_win.cpp.

Typedef Documentation

◆ REG_TZI_FORMAT

Variable Documentation

◆ currTzRegPath

const wchar_t currTzRegPath[] = LR"(SYSTEM\CurrentControlSet\Control\TimeZoneInformation)"
static

Definition at line 37 of file qtimezoneprivate_win.cpp.

◆ FIRST_DST_YEAR

constexpr int FIRST_DST_YEAR = 1900
constexpr

Definition at line 67 of file qtimezoneprivate_win.cpp.

◆ JULIAN_DAY_FOR_EPOCH

constexpr qint64 JULIAN_DAY_FOR_EPOCH = 2440588LL
constexpr

Definition at line 40 of file qtimezoneprivate_win.cpp.

◆ MSECS_PER_DAY

constexpr qint64 MSECS_PER_DAY = 86400000LL
constexpr

Definition at line 39 of file qtimezoneprivate_win.cpp.

◆ tzRegPath

const wchar_t tzRegPath[] = LR"(SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones)"
static

Definition at line 36 of file qtimezoneprivate_win.cpp.