Vous êtes un professionnel et vous avez besoin d'une formation ?
Machine Learning
avec Scikit-Learn
Voir le programme détaillé
Module « PySide6.QtCore »
Classe « QDateTime »
Informations générales
Héritage
builtins.object
Object
QDateTime
Définition
class QDateTime(Object):
help(QDateTime)
QDateTime(self, /) -> None
QDateTime(self, date: PySide6.QtCore.QDate, time: PySide6.QtCore.QTime, spec: PySide6.QtCore.Qt.TimeSpec, /, offsetSeconds: Optional[int] = None) -> None
QDateTime(self, date: PySide6.QtCore.QDate, time: PySide6.QtCore.QTime, /, resolve: PySide6.QtCore.QDateTime.TransitionResolution = Instance(PySide6.QtCore.QDateTime.TransitionResolution.LegacyBehavior)) -> None
QDateTime(self, date: PySide6.QtCore.QDate, time: PySide6.QtCore.QTime, timeZone: Union[PySide6.QtCore.QTimeZone, PySide6.QtCore.QTimeZone.Initialization], /, resolve: PySide6.QtCore.QDateTime.TransitionResolution = Instance(PySide6.QtCore.QDateTime.TransitionResolution.LegacyBehavior)) -> None
QDateTime(self, other: PySide6.QtCore.QDateTime, /) -> None
QDateTime(self, year: int, month: int, day: int, h: int, m: int, s: int, /) -> None
QDateTime(self, year: int, month: int, day: int, h: int, m: int, s: int, ms: int, /, spec: PySide6.QtCore.Qt.TimeSpec = Instance(Qt.LocalTime)) -> None
QDateTime(self, year: int, month: int, day: int, h: int, m: int, s: int, ms: int, /, spec: int = Instance(Qt.LocalTime)) -> None
Constructeur(s)
Liste des méthodes
Toutes les méthodes
Méthodes d'instance
Méthodes statiques
Méthodes dépréciées
| __bool__(self) |
True if self else False [extrait de __bool__.__doc__] |
| __copy__(self) |
|
| __hash__(self) |
Return hash(self). [extrait de __hash__.__doc__] |
| __reduce__(self) |
|
| __repr__(self) |
Return repr(self). [extrait de __repr__.__doc__] |
| addDays(self, object) |
|
| addMonths(self, object) |
|
| addMSecs(self, object) |
|
| addSecs(self, object) |
|
| addYears(self, object) |
|
| currentDateTime |
|
| currentDateTimeUtc() |
|
| currentMSecsSinceEpoch() |
|
| currentSecsSinceEpoch() |
|
| date(self) |
|
| daysTo(self, object) |
|
| fromMSecsSinceEpoch |
|
| fromSecsSinceEpoch |
|
| fromString |
|
| isDaylightTime(self) |
|
| isNull(self) |
|
| isValid(self) |
|
| msecsTo(self, object) |
|
| offsetFromUtc(self) |
|
| secsTo(self, object) |
|
| setDate |
|
| setMSecsSinceEpoch(self, object) |
|
| setOffsetFromUtc(self, object) |
|
| setSecsSinceEpoch(self, object) |
|
| setTime |
|
| setTimeSpec(self, object) |
|
| setTimeZone |
|
| swap(self, object) |
|
| time(self) |
|
| timeRepresentation(self) |
|
| timeSpec(self) |
|
| timeZone(self) |
|
| timeZoneAbbreviation(self) |
|
| toLocalTime(self) |
|
| toMSecsSinceEpoch(self) |
|
| toOffsetFromUtc(self, object) |
|
| toPython(self) |
|
| toSecsSinceEpoch(self) |
|
| toString |
|
| toTimeSpec(self, object) |
|
| toTimeZone(self, object) |
|
| toUTC(self) |
|
| TransitionResolution(*values) |
|
| YearRange(*values) |
|
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__,
__getstate__,
__reduce_ex__,
__sizeof__,
__str__
Vous êtes un professionnel et vous avez besoin d'une formation ?
Calcul scientifique
avec Python
Voir le programme détaillé
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 :