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 « PySide6.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) -> None
QTimeZone(self, ianaId: Union[PySide6.QtCore.QByteArray, bytes]) -> None
QTimeZone(self, offsetSeconds: int) -> None
QTimeZone(self, other: PySide6.QtCore.QTimeZone) -> None
QTimeZone(self, zoneId: Union[PySide6.QtCore.QByteArray, bytes], offsetSeconds: int, name: str, abbreviation: str, territory: PySide6.QtCore.QLocale.Country = PySide6.QtCore.QLocale.Country.AnyTerritory, comment: str = '') -> None

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__]

Liste des attributs statiques

Nom de l'attribut Valeur
DaylightTimePySide6.QtCore.QTimeZone.TimeType.DaylightTime
DefaultNamePySide6.QtCore.QTimeZone.NameType.DefaultName
GenericTimePySide6.QtCore.QTimeZone.TimeType.GenericTime
LongNamePySide6.QtCore.QTimeZone.NameType.LongName
OffsetNamePySide6.QtCore.QTimeZone.NameType.OffsetName
ShortNamePySide6.QtCore.QTimeZone.NameType.ShortName
StandardTimePySide6.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__() -> None __copy__() -> None [extrait de __copy__.__doc__]
__repr__(self) Return repr(self). [extrait de __repr__.__doc__]
abbreviation(self, atDateTime: PySide6.QtCore.QDateTime) -> str abbreviation(self, atDateTime: PySide6.QtCore.QDateTime) -> str [extrait de abbreviation.__doc__]
availableTimeZoneIds availableTimeZoneIds() -> List[PySide6.QtCore.QByteArray] [extrait de availableTimeZoneIds.__doc__]
comment(self) -> str comment(self) -> str [extrait de comment.__doc__]
country(self) -> PySide6.QtCore.QLocale.Country country(self) -> PySide6.QtCore.QLocale.Country [extrait de country.__doc__]
daylightTimeOffset(self, atDateTime: PySide6.QtCore.QDateTime) -> int daylightTimeOffset(self, atDateTime: PySide6.QtCore.QDateTime) -> int [extrait de daylightTimeOffset.__doc__]
displayName displayName(self, atDateTime: PySide6.QtCore.QDateTime, nameType: PySide6.QtCore.QTimeZone.NameType = PySide6.QtCore.QTimeZone.NameType.DefaultName, locale: Union[PySide6.QtCore.QLocale, PySide6.QtCore.QLocale.Language] = 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: Union[PySide6.QtCore.QByteArray, bytes]) -> PySide6.QtCore.QByteArray ianaIdToWindowsId(ianaId: Union[PySide6.QtCore.QByteArray, bytes]) -> PySide6.QtCore.QByteArray [extrait de ianaIdToWindowsId.__doc__]
id(self) -> PySide6.QtCore.QByteArray id(self) -> PySide6.QtCore.QByteArray [extrait de id.__doc__]
isDaylightTime(self, atDateTime: PySide6.QtCore.QDateTime) -> bool isDaylightTime(self, atDateTime: PySide6.QtCore.QDateTime) -> bool [extrait de isDaylightTime.__doc__]
isTimeZoneIdAvailable(ianaId: Union[PySide6.QtCore.QByteArray, bytes]) -> bool isTimeZoneIdAvailable(ianaId: Union[PySide6.QtCore.QByteArray, bytes]) -> bool [extrait de isTimeZoneIdAvailable.__doc__]
isValid(self) -> bool isValid(self) -> bool [extrait de isValid.__doc__]
NameType
nextTransition(self, afterDateTime: PySide6.QtCore.QDateTime) -> PySide6.QtCore.QTimeZone.OffsetData nextTransition(self, afterDateTime: PySide6.QtCore.QDateTime) -> PySide6.QtCore.QTimeZone.OffsetData [extrait de nextTransition.__doc__]
OffsetData OffsetData(self) -> None [extrait de OffsetData.__doc__]
offsetData(self, forDateTime: PySide6.QtCore.QDateTime) -> PySide6.QtCore.QTimeZone.OffsetData offsetData(self, forDateTime: PySide6.QtCore.QDateTime) -> PySide6.QtCore.QTimeZone.OffsetData [extrait de offsetData.__doc__]
offsetFromUtc(self, atDateTime: PySide6.QtCore.QDateTime) -> int offsetFromUtc(self, atDateTime: PySide6.QtCore.QDateTime) -> int [extrait de offsetFromUtc.__doc__]
previousTransition(self, beforeDateTime: PySide6.QtCore.QDateTime) -> PySide6.QtCore.QTimeZone.OffsetData previousTransition(self, beforeDateTime: PySide6.QtCore.QDateTime) -> PySide6.QtCore.QTimeZone.OffsetData [extrait de previousTransition.__doc__]
standardTimeOffset(self, atDateTime: PySide6.QtCore.QDateTime) -> int standardTimeOffset(self, atDateTime: PySide6.QtCore.QDateTime) -> int [extrait de standardTimeOffset.__doc__]
swap(self, other: PySide6.QtCore.QTimeZone) -> None swap(self, other: PySide6.QtCore.QTimeZone) -> None [extrait de swap.__doc__]
systemTimeZone() -> PySide6.QtCore.QTimeZone systemTimeZone() -> PySide6.QtCore.QTimeZone [extrait de systemTimeZone.__doc__]
systemTimeZoneId() -> PySide6.QtCore.QByteArray systemTimeZoneId() -> PySide6.QtCore.QByteArray [extrait de systemTimeZoneId.__doc__]
territory(self) -> PySide6.QtCore.QLocale.Country territory(self) -> PySide6.QtCore.QLocale.Country [extrait de territory.__doc__]
TimeType
transitions(self, fromDateTime: PySide6.QtCore.QDateTime, toDateTime: PySide6.QtCore.QDateTime) -> List[PySide6.QtCore.QTimeZone.OffsetData] transitions(self, fromDateTime: PySide6.QtCore.QDateTime, toDateTime: PySide6.QtCore.QDateTime) -> List[PySide6.QtCore.QTimeZone.OffsetData] [extrait de transitions.__doc__]
utc() -> PySide6.QtCore.QTimeZone utc() -> PySide6.QtCore.QTimeZone [extrait de utc.__doc__]
windowsIdToDefaultIanaId windowsIdToDefaultIanaId(windowsId: Union[PySide6.QtCore.QByteArray, bytes]) -> PySide6.QtCore.QByteArray [extrait de windowsIdToDefaultIanaId.__doc__]
windowsIdToIanaIds windowsIdToIanaIds(windowsId: Union[PySide6.QtCore.QByteArray, bytes]) -> List[PySide6.QtCore.QByteArray] [extrait de windowsIdToIanaIds.__doc__]

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

__delattr__, __getattribute__, __init_subclass__, __setattr__, __subclasshook__

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

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __sizeof__, __str__