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 « QCalendar »

Informations générales

Héritage

builtins.object
    Object
        QCalendar

Définition

class QCalendar(Object):

Description [extrait de QCalendar.__doc__]

QCalendar(self)
QCalendar(self, system: PySide2.QtCore.QCalendar.System)

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 opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

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__]
availableCalendars() -> typing.List[str] availableCalendars() -> typing.List[str] [extrait de availableCalendars.__doc__]
dateFromParts dateFromParts(self, parts: PySide2.QtCore.QCalendar.YearMonthDay) -> PySide2.QtCore.QDate [extrait de dateFromParts.__doc__]
dayOfWeek(self, date: PySide2.QtCore.QDate) -> int dayOfWeek(self, date: PySide2.QtCore.QDate) -> int [extrait de dayOfWeek.__doc__]
daysInMonth(self, month: int, year: typing.Union[int, NoneType] = None) -> int daysInMonth(self, month: int, year: typing.Union[int, NoneType] = None) -> int [extrait de daysInMonth.__doc__]
daysInYear(self, year: int) -> int daysInYear(self, year: int) -> int [extrait de daysInYear.__doc__]
hasYearZero(self) -> bool hasYearZero(self) -> bool [extrait de hasYearZero.__doc__]
isDateValid(self, year: int, month: int, day: int) -> bool isDateValid(self, year: int, month: int, day: int) -> bool [extrait de isDateValid.__doc__]
isGregorian(self) -> bool isGregorian(self) -> bool [extrait de isGregorian.__doc__]
isLeapYear(self, year: int) -> bool isLeapYear(self, year: int) -> bool [extrait de isLeapYear.__doc__]
isLunar(self) -> bool isLunar(self) -> bool [extrait de isLunar.__doc__]
isLuniSolar(self) -> bool isLuniSolar(self) -> bool [extrait de isLuniSolar.__doc__]
isProleptic(self) -> bool isProleptic(self) -> bool [extrait de isProleptic.__doc__]
isSolar(self) -> bool isSolar(self) -> bool [extrait de isSolar.__doc__]
isValid(self) -> bool isValid(self) -> bool [extrait de isValid.__doc__]
maximumDaysInMonth(self) -> int maximumDaysInMonth(self) -> int [extrait de maximumDaysInMonth.__doc__]
maximumMonthsInYear(self) -> int maximumMonthsInYear(self) -> int [extrait de maximumMonthsInYear.__doc__]
minimumDaysInMonth(self) -> int minimumDaysInMonth(self) -> int [extrait de minimumDaysInMonth.__doc__]
monthName(self, locale: PySide2.QtCore.QLocale, month: int, year: typing.Union[int, NoneType] = None, format: PySide2.QtCore.QLocale.FormatType = PySide2.QtCore.QLocale.FormatType.LongFormat) -> str monthName(self, locale: PySide2.QtCore.QLocale, month: int, year: typing.Union[int, NoneType] = None, format: PySide2.QtCore.QLocale.FormatType = PySide2.QtCore.QLocale.FormatType.LongFormat) -> str [extrait de monthName.__doc__]
monthsInYear(self, year: int) -> int monthsInYear(self, year: int) -> int [extrait de monthsInYear.__doc__]
name(self) -> str name(self) -> str [extrait de name.__doc__]
partsFromDate(self, date: PySide2.QtCore.QDate) -> PySide2.QtCore.QCalendar.YearMonthDay partsFromDate(self, date: PySide2.QtCore.QDate) -> PySide2.QtCore.QCalendar.YearMonthDay [extrait de partsFromDate.__doc__]
standaloneMonthName(self, locale: PySide2.QtCore.QLocale, month: int, year: typing.Union[int, NoneType] = None, format: PySide2.QtCore.QLocale.FormatType = PySide2.QtCore.QLocale.FormatType.LongFormat) -> str standaloneMonthName(self, locale: PySide2.QtCore.QLocale, month: int, year: typing.Union[int, NoneType] = None, format: PySide2.QtCore.QLocale.FormatType = PySide2.QtCore.QLocale.FormatType.LongFormat) -> str [extrait de standaloneMonthName.__doc__]
standaloneWeekDayName(self, locale: PySide2.QtCore.QLocale, day: int, format: PySide2.QtCore.QLocale.FormatType = PySide2.QtCore.QLocale.FormatType.LongFormat) -> str standaloneWeekDayName(self, locale: PySide2.QtCore.QLocale, day: int, format: PySide2.QtCore.QLocale.FormatType = PySide2.QtCore.QLocale.FormatType.LongFormat) -> str [extrait de standaloneWeekDayName.__doc__]
System
weekDayName(self, locale: PySide2.QtCore.QLocale, day: int, format: PySide2.QtCore.QLocale.FormatType = PySide2.QtCore.QLocale.FormatType.LongFormat) -> str weekDayName(self, locale: PySide2.QtCore.QLocale, day: int, format: PySide2.QtCore.QLocale.FormatType = PySide2.QtCore.QLocale.FormatType.LongFormat) -> str [extrait de weekDayName.__doc__]
YearMonthDay YearMonthDay(self) [extrait de YearMonthDay.__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__, __repr__, __setattr__, __sizeof__, __str__