- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Identifies how a time representation relates to UTC
Java wrapper for Qt class QTimeZone
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQTimeZone::Initialization
static enum
Java wrapper for Qt enumQTimeZone::NameType
static class
Java wrapper for Qt classQTimeZone::OffsetData
static enum
Java wrapper for Qt enumQTimeZone::TimeType
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
-
Constructor Summary
ConstructorDescriptionQTimeZone
(int offsetSeconds) QTimeZone
(QByteArray ianaId) QTimeZone
(QByteArray zoneId, int offsetSeconds, String name, String abbreviation) QTimeZone
(QByteArray zoneId, int offsetSeconds, String name, String abbreviation, QLocale.Country territory) Overloaded constructor forQTimeZone(io.qt.core.QByteArray, int, java.lang.String, java.lang.String, io.qt.core.QLocale.Country, java.lang.String)
withcomment = (String)null
.QTimeZone
(QByteArray zoneId, int offsetSeconds, String name, String abbreviation, QLocale.Country territory, String comment) -
Method Summary
Modifier and TypeMethodDescriptionfinal String
abbreviation
(QDateTime atDateTime) final QTimeZone
final void
static QList<QByteArray>
static QList<QByteArray>
availableTimeZoneIds
(int offsetSeconds) static QList<QByteArray>
availableTimeZoneIds
(QLocale.Country territory) clone()
Creates and returns a copy of this object.final String
comment()
final QLocale.Country
country()
SeeQTimeZone::
country()const final int
daylightTimeOffset
(QDateTime atDateTime) final String
displayName
(QDateTime atDateTime) Overloaded function fordisplayName(io.qt.core.QDateTime, io.qt.core.QTimeZone.NameType, io.qt.core.QLocale)
final String
displayName
(QDateTime atDateTime, QTimeZone.NameType nameType) Overloaded function fordisplayName(io.qt.core.QDateTime, io.qt.core.QTimeZone.NameType, io.qt.core.QLocale)
withlocale = new io.qt.core.QLocale()
.final String
displayName
(QDateTime atDateTime, QTimeZone.NameType nameType, QLocale locale) final String
displayName
(QTimeZone.TimeType timeType) Overloaded function fordisplayName(io.qt.core.QTimeZone.TimeType, io.qt.core.QTimeZone.NameType, io.qt.core.QLocale)
final String
displayName
(QTimeZone.TimeType timeType, QTimeZone.NameType nameType) Overloaded function fordisplayName(io.qt.core.QTimeZone.TimeType, io.qt.core.QTimeZone.NameType, io.qt.core.QLocale)
withlocale = new io.qt.core.QLocale()
.final String
displayName
(QTimeZone.TimeType timeType, QTimeZone.NameType nameType, QLocale locale) boolean
final int
static QTimeZone
fromSecondsAheadOfUtc
(int offset) final boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QTimeZone)
.final boolean
static QByteArray
ianaIdToWindowsId
(QByteArray ianaId) final QByteArray
id()
final boolean
isDaylightTime
(QDateTime atDateTime) static boolean
isTimeZoneIdAvailable
(QByteArray ianaId) final boolean
static boolean
final boolean
isValid()
final QTimeZone.OffsetData
nextTransition
(QDateTime afterDateTime) final QTimeZone.OffsetData
offsetData
(QDateTime forDateTime) final int
offsetFromUtc
(QDateTime atDateTime) final QTimeZone.OffsetData
previousTransition
(QDateTime beforeDateTime) void
readFrom
(QDataStream ds) Seeoperator>>(QDataStream&,
QTimeZone&) final int
standardTimeOffset
(QDateTime atDateTime) final void
static QTimeZone
static QByteArray
final QLocale.Country
final Qt.TimeSpec
timeSpec()
toString()
Seeoperator<<(QDebug,
QTimeZone) final QList<QTimeZone.OffsetData>
transitions
(QDateTime fromDateTime, QDateTime toDateTime) static QTimeZone
utc()
SeeQTimeZone::
utc() static QByteArray
windowsIdToDefaultIanaId
(QByteArray windowsId) static QByteArray
windowsIdToDefaultIanaId
(QByteArray windowsId, QLocale.Country territory) static QList<QByteArray>
windowsIdToIanaIds
(QByteArray windowsId) static QList<QByteArray>
windowsIdToIanaIds
(QByteArray windowsId, QLocale.Country territory) void
writeTo
(QDataStream ds) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
MinUtcOffsetSecs
public static final int MinUtcOffsetSecs- See Also:
-
MaxUtcOffsetSecs
public static final int MaxUtcOffsetSecs- See Also:
-
-
Constructor Details
-
QTimeZone
public QTimeZone() -
QTimeZone
-
QTimeZone
-
QTimeZone
public QTimeZone(QByteArray zoneId, int offsetSeconds, String name, String abbreviation, QLocale.Country territory) Overloaded constructor for
QTimeZone(io.qt.core.QByteArray, int, java.lang.String, java.lang.String, io.qt.core.QLocale.Country, java.lang.String)
withcomment = (String)null
. -
QTimeZone
Overloaded constructor for
QTimeZone(io.qt.core.QByteArray, int, java.lang.String, java.lang.String, io.qt.core.QLocale.Country, java.lang.String)
with:
territory = io.qt.core.QLocale.Country.AnyTerritory
comment = (String)null
-
QTimeZone
public QTimeZone(QByteArray zoneId, int offsetSeconds, String name, String abbreviation, QLocale.Country territory, String comment) -
QTimeZone
-
QTimeZone
public QTimeZone(int offsetSeconds)
-
-
Method Details
-
abbreviation
-
asBackendZone
-
comment
-
country
See
QTimeZone::
country()const -
daylightTimeOffset
-
displayName
@QtUninvokable public final String displayName(QTimeZone.TimeType timeType, QTimeZone.NameType nameType) Overloaded function for
displayName(io.qt.core.QTimeZone.TimeType, io.qt.core.QTimeZone.NameType, io.qt.core.QLocale)
withlocale = new io.qt.core.QLocale()
. -
displayName
Overloaded function for
displayName(io.qt.core.QTimeZone.TimeType, io.qt.core.QTimeZone.NameType, io.qt.core.QLocale)
with:
nameType = io.qt.core.QTimeZone.NameType.DefaultName
locale = new io.qt.core.QLocale()
-
displayName
@QtUninvokable public final String displayName(QTimeZone.TimeType timeType, QTimeZone.NameType nameType, QLocale locale) -
displayName
Overloaded function for
displayName(io.qt.core.QDateTime, io.qt.core.QTimeZone.NameType, io.qt.core.QLocale)
withlocale = new io.qt.core.QLocale()
. -
displayName
Overloaded function for
displayName(io.qt.core.QDateTime, io.qt.core.QTimeZone.NameType, io.qt.core.QLocale)
with:
nameType = io.qt.core.QTimeZone.NameType.DefaultName
locale = new io.qt.core.QLocale()
-
displayName
@QtUninvokable public final String displayName(QDateTime atDateTime, QTimeZone.NameType nameType, QLocale locale) -
fixedSecondsAheadOfUtc
-
hasDaylightTime
-
hasTransitions
-
id
-
isDaylightTime
-
isUtcOrFixedOffset
-
isValid
-
nextTransition
-
offsetData
-
offsetFromUtc
-
writeTo
-
assign
-
readFrom
See
operator>>(QDataStream&,
QTimeZone&) -
previousTransition
-
standardTimeOffset
-
swap
-
territory
-
timeSpec
-
transitions
@QtUninvokable public final QList<QTimeZone.OffsetData> transitions(QDateTime fromDateTime, QDateTime toDateTime) -
availableTimeZoneIds
-
availableTimeZoneIds
-
availableTimeZoneIds
-
fromSecondsAheadOfUtc
-
ianaIdToWindowsId
-
isTimeZoneIdAvailable
-
isUtcOrFixedOffset
-
systemTimeZone
-
systemTimeZoneId
-
utc
See
QTimeZone::
utc() -
windowsIdToDefaultIanaId
-
windowsIdToDefaultIanaId
-
windowsIdToIanaIds
-
windowsIdToIanaIds
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QTimeZone)
. -
toString
See
operator<<(QDebug,
QTimeZone) -
clone
Creates and returns a copy of this object.
-