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
qtimezone.cpp File Reference

(d06cff08598129c85952f4d45a382d300cb4ac65)

#include "qtimezone.h"
#include <QtCore/qdatastream.h>
#include <QtCore/qdatetime.h>
#include <qdebug.h>
#include <algorithm>
+ Include dependency graph for qtimezone.cpp:

Go to the source code of this file.

Functions

bool comparesEqual (const QTimeZone &lhs, const QTimeZone &rhs) noexcept
 
static QString invalidId ()
 
QDataStreamoperator<< (QDataStream &ds, const QTimeZone &tz)
 
QDataStreamoperator>> (QDataStream &ds, QTimeZone &tz)
 
QDebug operator<< (QDebug dbg, const QTimeZone &tz)
 

Function Documentation

◆ comparesEqual()

bool comparesEqual ( const QTimeZone & lhs,
const QTimeZone & rhs )
noexcept

Definition at line 744 of file qtimezone.cpp.

◆ invalidId()

static QString invalidId ( )
inlinestatic

Definition at line 1638 of file qtimezone.cpp.

References QStringLiteral.

Referenced by operator>>().

+ Here is the caller graph for this function:

◆ operator<<() [1/2]

QDataStream & operator<< ( QDataStream & ds,
const QTimeZone & tz )

Definition at line 1640 of file qtimezone.cpp.

◆ operator<<() [2/2]

QDebug operator<< ( QDebug dbg,
const QTimeZone & tz )

Definition at line 1698 of file qtimezone.cpp.

◆ operator>>()

QDataStream & operator>> ( QDataStream & ds,
QTimeZone & tz )

Definition at line 1652 of file qtimezone.cpp.

References QTimeZone::QTimeZone(), QDateTime::fromMSecsSinceEpoch(), QTimeZone::fromSecondsAheadOfUtc(), invalidId(), QTimeZone::LocalTime, QString::toUtf8(), and QTimeZone::UTC.

+ Here is the call graph for this function: