Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qtimezoneprivate.cpp File Reference
#include "qtimezone.h"
#include "qtimezoneprivate_p.h"
#include "qtimezoneprivate_data_p.h"
#include <private/qnumeric_p.h>
#include <private/qtools_p.h>
#include <qdatastream.h>
#include <qdebug.h>
#include <algorithm>
+ Include dependency graph for qtimezoneprivate.cpp:

Go to the source code of this file.

Functions

static quint16 toWindowsIdKey (const QByteArray &winId)
 
static QByteArray toWindowsIdLiteral (quint16 windowsIdKey)
 
static bool isEntryInIanaList (QByteArrayView id, QByteArrayView ianaIds)
 

Function Documentation

◆ isEntryInIanaList()

static bool isEntryInIanaList ( QByteArrayView  id,
QByteArrayView  ianaIds 
)
static

Definition at line 716 of file qtimezoneprivate.cpp.

References cut(), QByteArrayView::first(), QByteArrayView::indexOf(), and QByteArrayView::sliced().

Referenced by QUtcTimeZonePrivate::QUtcTimeZonePrivate(), and QUtcTimeZonePrivate::isTimeZoneIdAvailable().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toWindowsIdKey()

static quint16 toWindowsIdKey ( const QByteArray winId)
static

Definition at line 25 of file qtimezoneprivate.cpp.

References windowsDataTable.

Referenced by QTimeZonePrivate::windowsIdToIanaIds(), and QTimeZonePrivate::windowsIdToIanaIds().

+ Here is the caller graph for this function:

◆ toWindowsIdLiteral()

static QByteArray toWindowsIdLiteral ( quint16  windowsIdKey)
static

Definition at line 34 of file qtimezoneprivate.cpp.

References windowsDataTable.

Referenced by QTimeZonePrivate::ianaIdToWindowsId().

+ Here is the caller graph for this function: