Notation used in Ruby API documentation
Module: QtCore
Description: Binding of QTimeZone
Sub-classes: NameType, QFlags_NameType, TimeType, QFlags_TimeType, OffsetData
new QTimeZone | new | Constructor QTimeZone::QTimeZone() | |
new QTimeZone | new | (bytes ianaId) | Constructor QTimeZone::QTimeZone(const QByteArray &ianaId) |
new QTimeZone | new | (int offsetSeconds) | Constructor QTimeZone::QTimeZone(int offsetSeconds) |
new QTimeZone | new | (bytes zoneId, int offsetSeconds, string name, string abbreviation, const QLocale_Country country = QLocale::AnyCountry, string comment = QString()) | Constructor QTimeZone::QTimeZone(const QByteArray &zoneId, int offsetSeconds, const QString &name, const QString &abbreviation, QLocale::Country country, const QString &comment) |
new QTimeZone | new | (const QTimeZone other) | Constructor QTimeZone::QTimeZone(const QTimeZone &other) |
[const] | bool | != | (const QTimeZone other) | Method bool QTimeZone::operator!=(const QTimeZone &other) |
[const] | bool | == | (const QTimeZone other) | Method bool QTimeZone::operator==(const QTimeZone &other) |
void | _assign | (const QTimeZone other) | Assigns another object to self | |
[const] | QTimeZone ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly destroys the object | ||
[const] | bool | _destroyed? | Returns a value indicating whether the object was already destroyed | |
[const] | bool | _is_const_object? | Returns a value indicating whether the reference is a const reference | |
void | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
[const] | string | abbreviation | (const QDateTime atDateTime) | Method QString QTimeZone::abbreviation(const QDateTime &atDateTime) |
QTimeZone | assign | (const QTimeZone other) | Method QTimeZone &QTimeZone::operator=(const QTimeZone &other) | |
[const] | string | comment | Method QString QTimeZone::comment() | |
[const] | QLocale_Country | country | Method QLocale::Country QTimeZone::country() | |
[const] | int | daylightTimeOffset | (const QDateTime atDateTime) | Method int QTimeZone::daylightTimeOffset(const QDateTime &atDateTime) |
[const] | string | displayName | (const QDateTime atDateTime, const QTimeZone_NameType nameType = QTimeZone::DefaultName, const QLocale locale = QLocale()) | Method QString QTimeZone::displayName(const QDateTime &atDateTime, QTimeZone::NameType nameType, const QLocale &locale) |
[const] | string | displayName | (const QTimeZone_TimeType timeType, const QTimeZone_NameType nameType = QTimeZone::DefaultName, const QLocale locale = QLocale()) | Method QString QTimeZone::displayName(QTimeZone::TimeType timeType, QTimeZone::NameType nameType, const QLocale &locale) |
[const] | new QTimeZone ptr | dup | Creates a copy of self | |
[const] | bool | hasDaylightTime | Method bool QTimeZone::hasDaylightTime() | |
[const] | bool | hasTransitions | Method bool QTimeZone::hasTransitions() | |
[const] | bytes | id | Method QByteArray QTimeZone::id() | |
[const] | bool | isDaylightTime? | (const QDateTime atDateTime) | Method bool QTimeZone::isDaylightTime(const QDateTime &atDateTime) |
[const] | bool | isValid? | Method bool QTimeZone::isValid() | |
[const] | QTimeZone_OffsetData | nextTransition | (const QDateTime afterDateTime) | Method QTimeZone::OffsetData QTimeZone::nextTransition(const QDateTime &afterDateTime) |
[const] | QTimeZone_OffsetData | offsetData | (const QDateTime forDateTime) | Method QTimeZone::OffsetData QTimeZone::offsetData(const QDateTime &forDateTime) |
[const] | int | offsetFromUtc | (const QDateTime atDateTime) | Method int QTimeZone::offsetFromUtc(const QDateTime &atDateTime) |
[const] | QTimeZone_OffsetData | previousTransition | (const QDateTime beforeDateTime) | Method QTimeZone::OffsetData QTimeZone::previousTransition(const QDateTime &beforeDateTime) |
[const] | int | standardTimeOffset | (const QDateTime atDateTime) | Method int QTimeZone::standardTimeOffset(const QDateTime &atDateTime) |
void | swap | (QTimeZone other) | Method void QTimeZone::swap(QTimeZone &other) | |
[const] | QTimeZone_OffsetData[] | transitions | (const QDateTime fromDateTime, const QDateTime toDateTime) | Method QVector<QTimeZone::OffsetData> QTimeZone::transitions(const QDateTime &fromDateTime, const QDateTime &toDateTime) |
[static,const] | QTimeZone_TimeType | DaylightTime | Enum constant QTimeZone::DaylightTime | |
[static,const] | QTimeZone_NameType | DefaultName | Enum constant QTimeZone::DefaultName | |
[static,const] | QTimeZone_TimeType | GenericTime | Enum constant QTimeZone::GenericTime | |
[static,const] | QTimeZone_NameType | LongName | Enum constant QTimeZone::LongName | |
[static,const] | QTimeZone_NameType | OffsetName | Enum constant QTimeZone::OffsetName | |
[static,const] | QTimeZone_NameType | ShortName | Enum constant QTimeZone::ShortName | |
[static,const] | QTimeZone_TimeType | StandardTime | Enum constant QTimeZone::StandardTime | |
bytes[] | availableTimeZoneIds | Static method QList<QByteArray> QTimeZone::availableTimeZoneIds() | ||
bytes[] | availableTimeZoneIds | (const QLocale_Country country) | Static method QList<QByteArray> QTimeZone::availableTimeZoneIds(QLocale::Country country) | |
bytes[] | availableTimeZoneIds | (int offsetSeconds) | Static method QList<QByteArray> QTimeZone::availableTimeZoneIds(int offsetSeconds) | |
bytes | ianaIdToWindowsId | (bytes ianaId) | Static method QByteArray QTimeZone::ianaIdToWindowsId(const QByteArray &ianaId) | |
bool | isTimeZoneIdAvailable? | (bytes ianaId) | Static method bool QTimeZone::isTimeZoneIdAvailable(const QByteArray &ianaId) | |
QTimeZone | systemTimeZone | Static method QTimeZone QTimeZone::systemTimeZone() | ||
bytes | systemTimeZoneId | Static method QByteArray QTimeZone::systemTimeZoneId() | ||
QTimeZone | utc | Static method QTimeZone QTimeZone::utc() | ||
bytes | windowsIdToDefaultIanaId | (bytes windowsId) | Static method QByteArray QTimeZone::windowsIdToDefaultIanaId(const QByteArray &windowsId) | |
bytes | windowsIdToDefaultIanaId | (bytes windowsId, const QLocale_Country country) | Static method QByteArray QTimeZone::windowsIdToDefaultIanaId(const QByteArray &windowsId, QLocale::Country country) | |
bytes[] | windowsIdToIanaIds | (bytes windowsId) | Static method QList<QByteArray> QTimeZone::windowsIdToIanaIds(const QByteArray &windowsId) | |
bytes[] | windowsIdToIanaIds | (bytes windowsId, const QLocale_Country country) | Static method QList<QByteArray> QTimeZone::windowsIdToIanaIds(const QByteArray &windowsId, QLocale::Country country) |
void | create | Use of this method is deprecated. Use _create instead | ||
void | destroy | Use of this method is deprecated. Use _destroy instead | ||
[const] | bool | destroyed? | Use of this method is deprecated. Use _destroyed? instead | |
[const] | bool | is_const_object? | Use of this method is deprecated. Use _is_const_object? instead |
!= | Signature: [const] bool != (const QTimeZone other) Description: Method bool QTimeZone::operator!=(const QTimeZone &other) |
== | Signature: [const] bool == (const QTimeZone other) Description: Method bool QTimeZone::operator==(const QTimeZone &other) |
DaylightTime | Signature: [static,const] QTimeZone_TimeType DaylightTime Description: Enum constant QTimeZone::DaylightTime Python specific notes: |
DefaultName | Signature: [static,const] QTimeZone_NameType DefaultName Description: Enum constant QTimeZone::DefaultName Python specific notes: |
GenericTime | Signature: [static,const] QTimeZone_TimeType GenericTime Description: Enum constant QTimeZone::GenericTime Python specific notes: |
LongName | Signature: [static,const] QTimeZone_NameType LongName Description: Enum constant QTimeZone::LongName Python specific notes: |
OffsetName | Signature: [static,const] QTimeZone_NameType OffsetName Description: Enum constant QTimeZone::OffsetName Python specific notes: |
ShortName | Signature: [static,const] QTimeZone_NameType ShortName Description: Enum constant QTimeZone::ShortName Python specific notes: |
StandardTime | Signature: [static,const] QTimeZone_TimeType StandardTime Description: Enum constant QTimeZone::StandardTime Python specific notes: |
_assign | Signature: void _assign (const QTimeZone other) Description: Assigns another object to self |
_const_cast | Signature: [const] QTimeZone ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_create | Signature: void _create Description: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
_destroy | Signature: void _destroy Description: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
_destroyed? | Signature: [const] bool _destroyed? Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
_is_const_object? | Signature: [const] bool _is_const_object? Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
_manage | Signature: void _manage Description: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. |
_unmanage | Signature: void _unmanage Description: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. |
abbreviation | Signature: [const] string abbreviation (const QDateTime atDateTime) Description: Method QString QTimeZone::abbreviation(const QDateTime &atDateTime) |
assign | Signature: QTimeZone assign (const QTimeZone other) Description: Method QTimeZone &QTimeZone::operator=(const QTimeZone &other) |
availableTimeZoneIds | (1) Signature: [static] bytes[] availableTimeZoneIds Description: Static method QList<QByteArray> QTimeZone::availableTimeZoneIds() This method is static and can be called without an instance. |
(2) Signature: [static] bytes[] availableTimeZoneIds (const QLocale_Country country) Description: Static method QList<QByteArray> QTimeZone::availableTimeZoneIds(QLocale::Country country) This method is static and can be called without an instance. | |
(3) Signature: [static] bytes[] availableTimeZoneIds (int offsetSeconds) Description: Static method QList<QByteArray> QTimeZone::availableTimeZoneIds(int offsetSeconds) This method is static and can be called without an instance. | |
comment | Signature: [const] string comment Description: Method QString QTimeZone::comment() |
country | Signature: [const] QLocale_Country country Description: Method QLocale::Country QTimeZone::country() |
create | Signature: void create Description: Ensures the C++ object is created Use of this method is deprecated. Use _create instead Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
daylightTimeOffset | Signature: [const] int daylightTimeOffset (const QDateTime atDateTime) Description: Method int QTimeZone::daylightTimeOffset(const QDateTime &atDateTime) |
destroy | Signature: void destroy Description: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
destroyed? | Signature: [const] bool destroyed? Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
displayName | (1) Signature: [const] string displayName (const QDateTime atDateTime, const QTimeZone_NameType nameType = QTimeZone::DefaultName, const QLocale locale = QLocale()) Description: Method QString QTimeZone::displayName(const QDateTime &atDateTime, QTimeZone::NameType nameType, const QLocale &locale) |
(2) Signature: [const] string displayName (const QTimeZone_TimeType timeType, const QTimeZone_NameType nameType = QTimeZone::DefaultName, const QLocale locale = QLocale()) Description: Method QString QTimeZone::displayName(QTimeZone::TimeType timeType, QTimeZone::NameType nameType, const QLocale &locale) | |
dup | Signature: [const] new QTimeZone ptr dup Description: Creates a copy of self Python specific notes: |
hasDaylightTime | Signature: [const] bool hasDaylightTime Description: Method bool QTimeZone::hasDaylightTime() |
hasTransitions | Signature: [const] bool hasTransitions Description: Method bool QTimeZone::hasTransitions() |
ianaIdToWindowsId | Signature: [static] bytes ianaIdToWindowsId (bytes ianaId) Description: Static method QByteArray QTimeZone::ianaIdToWindowsId(const QByteArray &ianaId) This method is static and can be called without an instance. |
id | Signature: [const] bytes id Description: Method QByteArray QTimeZone::id() |
isDaylightTime? | Signature: [const] bool isDaylightTime? (const QDateTime atDateTime) Description: Method bool QTimeZone::isDaylightTime(const QDateTime &atDateTime) |
isTimeZoneIdAvailable? | Signature: [static] bool isTimeZoneIdAvailable? (bytes ianaId) Description: Static method bool QTimeZone::isTimeZoneIdAvailable(const QByteArray &ianaId) This method is static and can be called without an instance. |
isValid? | Signature: [const] bool isValid? Description: Method bool QTimeZone::isValid() |
is_const_object? | Signature: [const] bool is_const_object? Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
new | (1) Signature: [static] new QTimeZone new Description: Constructor QTimeZone::QTimeZone() This method creates an object of class QTimeZone. Python specific notes: |
(2) Signature: [static] new QTimeZone new (bytes ianaId) Description: Constructor QTimeZone::QTimeZone(const QByteArray &ianaId) This method creates an object of class QTimeZone. Python specific notes: | |
(3) Signature: [static] new QTimeZone new (int offsetSeconds) Description: Constructor QTimeZone::QTimeZone(int offsetSeconds) This method creates an object of class QTimeZone. Python specific notes: | |
(4) Signature: [static] new QTimeZone new (bytes zoneId, int offsetSeconds, string name, string abbreviation, const QLocale_Country country = QLocale::AnyCountry, string comment = QString()) Description: Constructor QTimeZone::QTimeZone(const QByteArray &zoneId, int offsetSeconds, const QString &name, const QString &abbreviation, QLocale::Country country, const QString &comment) This method creates an object of class QTimeZone. Python specific notes: | |
(5) Signature: [static] new QTimeZone new (const QTimeZone other) Description: Constructor QTimeZone::QTimeZone(const QTimeZone &other) This method creates an object of class QTimeZone. Python specific notes: | |
nextTransition | Signature: [const] QTimeZone_OffsetData nextTransition (const QDateTime afterDateTime) Description: Method QTimeZone::OffsetData QTimeZone::nextTransition(const QDateTime &afterDateTime) |
offsetData | Signature: [const] QTimeZone_OffsetData offsetData (const QDateTime forDateTime) Description: Method QTimeZone::OffsetData QTimeZone::offsetData(const QDateTime &forDateTime) |
offsetFromUtc | Signature: [const] int offsetFromUtc (const QDateTime atDateTime) Description: Method int QTimeZone::offsetFromUtc(const QDateTime &atDateTime) |
previousTransition | Signature: [const] QTimeZone_OffsetData previousTransition (const QDateTime beforeDateTime) Description: Method QTimeZone::OffsetData QTimeZone::previousTransition(const QDateTime &beforeDateTime) |
standardTimeOffset | Signature: [const] int standardTimeOffset (const QDateTime atDateTime) Description: Method int QTimeZone::standardTimeOffset(const QDateTime &atDateTime) |
swap | Signature: void swap (QTimeZone other) Description: Method void QTimeZone::swap(QTimeZone &other) |
systemTimeZone | Signature: [static] QTimeZone systemTimeZone Description: Static method QTimeZone QTimeZone::systemTimeZone() This method is static and can be called without an instance. |
systemTimeZoneId | Signature: [static] bytes systemTimeZoneId Description: Static method QByteArray QTimeZone::systemTimeZoneId() This method is static and can be called without an instance. |
transitions | Signature: [const] QTimeZone_OffsetData[] transitions (const QDateTime fromDateTime, const QDateTime toDateTime) Description: Method QVector<QTimeZone::OffsetData> QTimeZone::transitions(const QDateTime &fromDateTime, const QDateTime &toDateTime) |
utc | Signature: [static] QTimeZone utc Description: Static method QTimeZone QTimeZone::utc() This method is static and can be called without an instance. |
windowsIdToDefaultIanaId | (1) Signature: [static] bytes windowsIdToDefaultIanaId (bytes windowsId) Description: Static method QByteArray QTimeZone::windowsIdToDefaultIanaId(const QByteArray &windowsId) This method is static and can be called without an instance. |
(2) Signature: [static] bytes windowsIdToDefaultIanaId (bytes windowsId, const QLocale_Country country) Description: Static method QByteArray QTimeZone::windowsIdToDefaultIanaId(const QByteArray &windowsId, QLocale::Country country) This method is static and can be called without an instance. | |
windowsIdToIanaIds | (1) Signature: [static] bytes[] windowsIdToIanaIds (bytes windowsId) Description: Static method QList<QByteArray> QTimeZone::windowsIdToIanaIds(const QByteArray &windowsId) This method is static and can be called without an instance. |
(2) Signature: [static] bytes[] windowsIdToIanaIds (bytes windowsId, const QLocale_Country country) Description: Static method QList<QByteArray> QTimeZone::windowsIdToIanaIds(const QByteArray &windowsId, QLocale::Country country) This method is static and can be called without an instance. |