Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qtimezoneprivate.cpp File Reference

(cc8e548f1cabf4362eba1b0dba22b25b161b788e)

#include "qtimezone.h"
#include "qtimezoneprivate_p.h"
#include "qtimezoneprivate_data_p.h"
#include <QtCore/qbitarray.h>
#include <qdatastream.h>
#include <qdebug.h>
#include <qstring.h>
#include <private/qcalendarmath_p.h>
#include <private/qduplicatetracker_p.h>
#include <private/qnumeric_p.h>
#include <private/qstringiterator_p.h>
#include <private/qtools_p.h>
#include <algorithm>
Include dependency graph for qtimezoneprivate.cpp:

Go to the source code of this file.

Functions

constexpr bool earlierZoneData (ZoneData less, ZoneData more) noexcept
static bool earlierWinData (WindowsData less, WindowsData more) noexcept
constexpr bool atLowerUtcOffset (UtcData entry, qint32 offsetSeconds) noexcept
constexpr bool atLowerWindowsKey (WindowsData entry, qint16 winIdKey) noexcept
static bool earlierAliasId (AliasData entry, QByteArrayView aliasId) noexcept
static bool earlierWindowsId (WindowsData entry, QByteArrayView winId) noexcept
constexpr bool zoneAtLowerWindowsKey (ZoneData entry, qint16 winIdKey) noexcept
static quint16 toWindowsIdKey (QByteArrayView winId)
static QByteArrayView toWindowsIdLiteral (quint16 windowsIdKey)
static auto zoneStartForWindowsId (quint16 windowsIdKey) noexcept
template<typename Pred>
static QByteArrayView aliasMatching (QByteArrayView name, Pred test)
static QList< QByteArrayselectAvailable (QList< QByteArrayView > &&desired, const QList< QByteArray > &all)
static QTimeZonePrivate::NamePrefixMatch findUtcOffsetPrefix (QStringView text, const QLocale &locale)
static bool isEntryInIanaList (QByteArrayView id, QByteArrayView ianaIds)

Function Documentation

◆ aliasMatching()

template<typename Pred>
QByteArrayView aliasMatching ( QByteArrayView name,
Pred test )
static

Definition at line 614 of file qtimezoneprivate.cpp.

References QtTimeZoneCldr::aliasMappingTable.

◆ atLowerUtcOffset()

bool atLowerUtcOffset ( UtcData entry,
qint32 offsetSeconds )
constexprnoexcept

Definition at line 56 of file qtimezoneprivate.cpp.

◆ atLowerWindowsKey()

bool atLowerWindowsKey ( WindowsData entry,
qint16 winIdKey )
constexprnoexcept

Definition at line 61 of file qtimezoneprivate.cpp.

◆ earlierAliasId()

bool earlierAliasId ( AliasData entry,
QByteArrayView aliasId )
staticnoexcept

Definition at line 66 of file qtimezoneprivate.cpp.

◆ earlierWinData()

bool earlierWinData ( WindowsData less,
WindowsData more )
staticnoexcept

Definition at line 47 of file qtimezoneprivate.cpp.

◆ earlierWindowsId()

bool earlierWindowsId ( WindowsData entry,
QByteArrayView winId )
staticnoexcept

Definition at line 71 of file qtimezoneprivate.cpp.

◆ earlierZoneData()

bool earlierZoneData ( ZoneData less,
ZoneData more )
constexprnoexcept

Definition at line 40 of file qtimezoneprivate.cpp.

◆ findUtcOffsetPrefix()

QTimeZonePrivate::NamePrefixMatch findUtcOffsetPrefix ( QStringView text,
const QLocale & locale )
static

Definition at line 874 of file qtimezoneprivate.cpp.

◆ isEntryInIanaList()

bool isEntryInIanaList ( QByteArrayView id,
QByteArrayView ianaIds )
static

Definition at line 1948 of file qtimezoneprivate.cpp.

◆ selectAvailable()

QList< QByteArray > selectAvailable ( QList< QByteArrayView > && desired,
const QList< QByteArray > & all )
static

Definition at line 653 of file qtimezoneprivate.cpp.

◆ toWindowsIdKey()

quint16 toWindowsIdKey ( QByteArrayView winId)
static

Definition at line 82 of file qtimezoneprivate.cpp.

References QtTimeZoneCldr::windowsDataTable.

◆ toWindowsIdLiteral()

QByteArrayView toWindowsIdLiteral ( quint16 windowsIdKey)
static

Definition at line 92 of file qtimezoneprivate.cpp.

References QtTimeZoneCldr::windowsDataTable.

◆ zoneAtLowerWindowsKey()

bool zoneAtLowerWindowsKey ( ZoneData entry,
qint16 winIdKey )
constexprnoexcept

Definition at line 76 of file qtimezoneprivate.cpp.

◆ zoneStartForWindowsId()

auto zoneStartForWindowsId ( quint16 windowsIdKey)
staticnoexcept

Definition at line 111 of file qtimezoneprivate.cpp.

References QtTimeZoneCldr::zoneDataTable.