QTimeZone

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++) extern (C++)
@Q_MOVABLE_TYPE
struct QTimeZone {}

Constructors

this
this()
Undocumented in source.
this
this(const(QByteArray) ianaId)
Undocumented in source.
this
this(int offsetSeconds)
Undocumented in source.
this
this(const(QByteArray) zoneId, int offsetSeconds, const(QString) name, const(QString) abbreviation, QLocale.Country country, const(QString) comment)
Undocumented in source.
this
this(const(QTimeZone) other)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Aliases

OffsetDataList
alias OffsetDataList = QVector!(OffsetData)
Undocumented in source.

Enums

MinUtcOffsetSecs
anonymousenum MinUtcOffsetSecs
Undocumented in source.
NameType
enum NameType
Undocumented in source.
TimeType
enum TimeType
Undocumented in source.

Functions

abbreviation
QString abbreviation(const(QDateTime) atDateTime)
Undocumented in source.
comment
QString comment()
Undocumented in source.
country
QLocale.Country country()
Undocumented in source.
daylightTimeOffset
int daylightTimeOffset(const(QDateTime) atDateTime)
Undocumented in source.
displayName
QString displayName(const(QDateTime) atDateTime, QTimeZone.NameType nameType, const(QLocale) locale)
Undocumented in source.
displayName
QString displayName(QTimeZone.TimeType timeType, QTimeZone.NameType nameType, const(QLocale) locale)
Undocumented in source.
hasDaylightTime
bool hasDaylightTime()
Undocumented in source.
hasTransitions
bool hasTransitions()
Undocumented in source.
id
QByteArray id()
Undocumented in source.
isDaylightTime
bool isDaylightTime(const(QDateTime) atDateTime)
Undocumented in source.
isValid
bool isValid()
Undocumented in source.
nextTransition
OffsetData nextTransition(const(QDateTime) afterDateTime)
Undocumented in source.
offsetData
OffsetData offsetData(const(QDateTime) forDateTime)
Undocumented in source.
offsetFromUtc
int offsetFromUtc(const(QDateTime) atDateTime)
Undocumented in source.
previousTransition
OffsetData previousTransition(const(QDateTime) beforeDateTime)
Undocumented in source.
rawConstructor
typeof(this) rawConstructor()
Undocumented in source.
standardTimeOffset
int standardTimeOffset(const(QDateTime) atDateTime)
Undocumented in source.
transitions
OffsetDataList transitions(const(QDateTime) fromDateTime, const(QDateTime) toDateTime)
Undocumented in source.

Static functions

availableTimeZoneIds
QList!(QByteArray) availableTimeZoneIds()
Undocumented in source.
availableTimeZoneIds
QList!(QByteArray) availableTimeZoneIds(QLocale.Country country)
Undocumented in source.
availableTimeZoneIds
QList!(QByteArray) availableTimeZoneIds(int offsetSeconds)
Undocumented in source.
create
typeof(this) create()
Undocumented in source. Be warned that the author may not have intended to support it.
ianaIdToWindowsId
QByteArray ianaIdToWindowsId(const(QByteArray) ianaId)
Undocumented in source.
isTimeZoneIdAvailable
bool isTimeZoneIdAvailable(const(QByteArray) ianaId)
Undocumented in source.
systemTimeZone
QTimeZone systemTimeZone()
Undocumented in source.
systemTimeZoneId
QByteArray systemTimeZoneId()
Undocumented in source.
utc
QTimeZone utc()
Undocumented in source.
windowsIdToDefaultIanaId
QByteArray windowsIdToDefaultIanaId(const(QByteArray) windowsId)
Undocumented in source.
windowsIdToDefaultIanaId
QByteArray windowsIdToDefaultIanaId(const(QByteArray) windowsId, QLocale.Country country)
Undocumented in source.
windowsIdToIanaIds
QList!(QByteArray) windowsIdToIanaIds(const(QByteArray) windowsId)
Undocumented in source.
windowsIdToIanaIds
QList!(QByteArray) windowsIdToIanaIds(const(QByteArray) windowsId, QLocale.Country country)
Undocumented in source.

Structs

OffsetData
struct OffsetData
Undocumented in source.

Meta