Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qtimezoneprivate_icu.cpp File Reference
#include "qtimezone.h"
#include "qtimezoneprivate_p.h"
#include <unicode/ucal.h>
#include <qdebug.h>
#include <qlist.h>
#include <algorithm>
+ Include dependency graph for qtimezoneprivate_icu.cpp:

Go to the source code of this file.

Functions

static QT_BEGIN_NAMESPACE UCalendarDisplayNameType ucalDisplayNameType (QTimeZone::TimeType timeType, QTimeZone::NameType nameType)
 
static QByteArray ucalDefaultTimeZoneId ()
 
static QString ucalTimeZoneDisplayName (UCalendar *ucal, QTimeZone::TimeType timeType, QTimeZone::NameType nameType, const QString &localeCode)
 
static bool ucalOffsetsAtTime (UCalendar *m_ucal, qint64 atMSecsSinceEpoch, int *utcOffset, int *dstOffset)
 
static QList< QByteArrayuenumToIdList (UEnumeration *uenum)
 
static int ucalDaylightOffset (const QByteArray &id)
 

Function Documentation

◆ ucalDaylightOffset()

static int ucalDaylightOffset ( const QByteArray id)
static

Definition at line 236 of file qtimezoneprivate_icu.cpp.

References QString::data(), and QString::fromLatin1().

+ Here is the call graph for this function:

◆ ucalDefaultTimeZoneId()

static QByteArray ucalDefaultTimeZoneId ( )
static

Definition at line 47 of file qtimezoneprivate_icu.cpp.

References Qt::Uninitialized.

◆ ucalDisplayNameType()

static QT_BEGIN_NAMESPACE UCalendarDisplayNameType ucalDisplayNameType ( QTimeZone::TimeType  timeType,
QTimeZone::NameType  nameType 
)
static

Definition at line 26 of file qtimezoneprivate_icu.cpp.

Referenced by ucalTimeZoneDisplayName().

+ Here is the caller graph for this function:

◆ ucalOffsetsAtTime()

static bool ucalOffsetsAtTime ( UCalendar *  m_ucal,
qint64  atMSecsSinceEpoch,
int *  utcOffset,
int *  dstOffset 
)
static

Definition at line 111 of file qtimezoneprivate_icu.cpp.

◆ ucalTimeZoneDisplayName()

static QString ucalTimeZoneDisplayName ( UCalendar *  ucal,
QTimeZone::TimeType  timeType,
QTimeZone::NameType  nameType,
const QString localeCode 
)
static

Definition at line 73 of file qtimezoneprivate_icu.cpp.

References QString::toUtf8(), ucalDisplayNameType(), and Qt::Uninitialized.

+ Here is the call graph for this function:

◆ uenumToIdList()

static QList< QByteArray > uenumToIdList ( UEnumeration *  uenum)
static

Definition at line 218 of file qtimezoneprivate_icu.cpp.

References QList< T >::begin(), QList< T >::end(), QList< T >::erase(), and list.

+ Here is the call graph for this function: