Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide2.QtCore »

Classe « QTimeZone »

Informations générales

Héritage

builtins.object
    Object
        QTimeZone

Définition

class QTimeZone(Object):

Description [extrait de QTimeZone.__doc__]

QTimeZone(self)
QTimeZone(self, ianaId: PySide2.QtCore.QByteArray)
QTimeZone(self, offsetSeconds: int)
QTimeZone(self, other: PySide2.QtCore.QTimeZone)
QTimeZone(self, zoneId: PySide2.QtCore.QByteArray, offsetSeconds: int, name: str, abbreviation: str, country: PySide2.QtCore.QLocale.Country = PySide2.QtCore.QLocale.Country.AnyCountry, comment: str = '')

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]
__init__(self, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
DaylightTimePySide2.QtCore.QTimeZone.TimeType.DaylightTime
DefaultNamePySide2.QtCore.QTimeZone.NameType.DefaultName
GenericTimePySide2.QtCore.QTimeZone.TimeType.GenericTime
LongNamePySide2.QtCore.QTimeZone.NameType.LongName
OffsetNamePySide2.QtCore.QTimeZone.NameType.OffsetName
ShortNamePySide2.QtCore.QTimeZone.NameType.ShortName
StandardTimePySide2.QtCore.QTimeZone.TimeType.StandardTime

Liste des opérateurs

Signature de l'opérateur Description
__eq__(self, value) Return self==value. [extrait de __eq__.__doc__]
__ge__(self, value) Return self>=value. [extrait de __ge__.__doc__]
__gt__(self, value) Return self>value. [extrait de __gt__.__doc__]
__le__(self, value) Return self<=value. [extrait de __le__.__doc__]
__lt__(self, value) Return self<value. [extrait de __lt__.__doc__]
__ne__(self, value) Return self!=value. [extrait de __ne__.__doc__]

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__copy__(self) __copy__(self) [extrait de __copy__.__doc__]
__repr__(self) Return repr(self). [extrait de __repr__.__doc__]
abbreviation(self, atDateTime: PySide2.QtCore.QDateTime) -> str abbreviation(self, atDateTime: PySide2.QtCore.QDateTime) -> str [extrait de abbreviation.__doc__]
availableTimeZoneIds availableTimeZoneIds() -> typing.List[PySide2.QtCore.QByteArray] [extrait de availableTimeZoneIds.__doc__]
comment(self) -> str comment(self) -> str [extrait de comment.__doc__]
country(self) -> PySide2.QtCore.QLocale.Country country(self) -> PySide2.QtCore.QLocale.Country [extrait de country.__doc__]
daylightTimeOffset(self, atDateTime: PySide2.QtCore.QDateTime) -> int daylightTimeOffset(self, atDateTime: PySide2.QtCore.QDateTime) -> int [extrait de daylightTimeOffset.__doc__]
displayName displayName(self, atDateTime: PySide2.QtCore.QDateTime, nameType: PySide2.QtCore.QTimeZone.NameType = PySide2.QtCore.QTimeZone.NameType.DefaultName, locale: PySide2.QtCore.QLocale = Default(QLocale)) -> str [extrait de displayName.__doc__]
hasDaylightTime(self) -> bool hasDaylightTime(self) -> bool [extrait de hasDaylightTime.__doc__]
hasTransitions(self) -> bool hasTransitions(self) -> bool [extrait de hasTransitions.__doc__]
ianaIdToWindowsId(ianaId: PySide2.QtCore.QByteArray) -> PySide2.QtCore.QByteArray ianaIdToWindowsId(ianaId: PySide2.QtCore.QByteArray) -> PySide2.QtCore.QByteArray [extrait de ianaIdToWindowsId.__doc__]
id(self) -> PySide2.QtCore.QByteArray id(self) -> PySide2.QtCore.QByteArray [extrait de id.__doc__]
isDaylightTime(self, atDateTime: PySide2.QtCore.QDateTime) -> bool isDaylightTime(self, atDateTime: PySide2.QtCore.QDateTime) -> bool [extrait de isDaylightTime.__doc__]
isTimeZoneIdAvailable(ianaId: PySide2.QtCore.QByteArray) -> bool isTimeZoneIdAvailable(ianaId: PySide2.QtCore.QByteArray) -> bool [extrait de isTimeZoneIdAvailable.__doc__]
isValid(self) -> bool isValid(self) -> bool [extrait de isValid.__doc__]
NameType
nextTransition(self, afterDateTime: PySide2.QtCore.QDateTime) -> PySide2.QtCore.QTimeZone.OffsetData nextTransition(self, afterDateTime: PySide2.QtCore.QDateTime) -> PySide2.QtCore.QTimeZone.OffsetData [extrait de nextTransition.__doc__]
OffsetData OffsetData(self) [extrait de OffsetData.__doc__]
offsetData(self, forDateTime: PySide2.QtCore.QDateTime) -> PySide2.QtCore.QTimeZone.OffsetData offsetData(self, forDateTime: PySide2.QtCore.QDateTime) -> PySide2.QtCore.QTimeZone.OffsetData [extrait de offsetData.__doc__]
offsetFromUtc(self, atDateTime: PySide2.QtCore.QDateTime) -> int offsetFromUtc(self, atDateTime: PySide2.QtCore.QDateTime) -> int [extrait de offsetFromUtc.__doc__]
previousTransition(self, beforeDateTime: PySide2.QtCore.QDateTime) -> PySide2.QtCore.QTimeZone.OffsetData previousTransition(self, beforeDateTime: PySide2.QtCore.QDateTime) -> PySide2.QtCore.QTimeZone.OffsetData [extrait de previousTransition.__doc__]
standardTimeOffset(self, atDateTime: PySide2.QtCore.QDateTime) -> int standardTimeOffset(self, atDateTime: PySide2.QtCore.QDateTime) -> int [extrait de standardTimeOffset.__doc__]
swap(self, other: PySide2.QtCore.QTimeZone) swap(self, other: PySide2.QtCore.QTimeZone) [extrait de swap.__doc__]
systemTimeZone() -> PySide2.QtCore.QTimeZone systemTimeZone() -> PySide2.QtCore.QTimeZone [extrait de systemTimeZone.__doc__]
systemTimeZoneId() -> PySide2.QtCore.QByteArray systemTimeZoneId() -> PySide2.QtCore.QByteArray [extrait de systemTimeZoneId.__doc__]
TimeType
transitions(self, fromDateTime: PySide2.QtCore.QDateTime, toDateTime: PySide2.QtCore.QDateTime) -> typing.List[PySide2.QtCore.QTimeZone.OffsetData] transitions(self, fromDateTime: PySide2.QtCore.QDateTime, toDateTime: PySide2.QtCore.QDateTime) -> typing.List[PySide2.QtCore.QTimeZone.OffsetData] [extrait de transitions.__doc__]
utc() -> PySide2.QtCore.QTimeZone utc() -> PySide2.QtCore.QTimeZone [extrait de utc.__doc__]
windowsIdToDefaultIanaId windowsIdToDefaultIanaId(windowsId: PySide2.QtCore.QByteArray) -> PySide2.QtCore.QByteArray [extrait de windowsIdToDefaultIanaId.__doc__]
windowsIdToIanaIds windowsIdToIanaIds(windowsId: PySide2.QtCore.QByteArray) -> typing.List[PySide2.QtCore.QByteArray] [extrait de windowsIdToIanaIds.__doc__]

Méthodes héritées de la classe Object

__init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__delattr__, __dir__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__