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

Informations générales

Héritage

builtins.object
    Object
        QCalendar

Définition

class QCalendar(Object):

Description [extrait de QCalendar.__doc__]

QCalendar(self) -> None
QCalendar(self, id: PySide6.QtCore.QCalendar.SystemId) -> None
QCalendar(self, name: str) -> None
QCalendar(self, system: PySide6.QtCore.QCalendar.System) -> 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 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__() -> None __copy__() -> None [extrait de __copy__.__doc__]
availableCalendars() -> List[str] availableCalendars() -> List[str] [extrait de availableCalendars.__doc__]
dateFromParts dateFromParts(self, parts: Union[PySide6.QtCore.QCalendar.YearMonthDay, int]) -> PySide6.QtCore.QDate [extrait de dateFromParts.__doc__]
dateTimeToString(self, format: str, datetime: PySide6.QtCore.QDateTime, dateOnly: PySide6.QtCore.QDate, timeOnly: PySide6.QtCore.QTime, locale: Union[PySide6.QtCore.QLocale, PySide6.QtCore.QLocale.Language]) -> str dateTimeToString(self, format: str, datetime: PySide6.QtCore.QDateTime, dateOnly: PySide6.QtCore.QDate, timeOnly: PySide6.QtCore.QTime, locale: Union[PySide6.QtCore.QLocale, PySide6.QtCore.QLocale.Language]) -> str [extrait de dateTimeToString.__doc__]
dayOfWeek(self, date: PySide6.QtCore.QDate) -> int dayOfWeek(self, date: PySide6.QtCore.QDate) -> int [extrait de dayOfWeek.__doc__]
daysInMonth(self, month: int, year: Optional[int] = None) -> int daysInMonth(self, month: int, year: Optional[int] = 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: Union[PySide6.QtCore.QLocale, PySide6.QtCore.QLocale.Language], month: int, year: Optional[int] = None, format: PySide6.QtCore.QLocale.FormatType = PySide6.QtCore.QLocale.FormatType.LongFormat) -> str monthName(self, locale: Union[PySide6.QtCore.QLocale, PySide6.QtCore.QLocale.Language], month: int, year: Optional[int] = None, format: PySide6.QtCore.QLocale.FormatType = PySide6.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: PySide6.QtCore.QDate) -> PySide6.QtCore.QCalendar.YearMonthDay partsFromDate(self, date: PySide6.QtCore.QDate) -> PySide6.QtCore.QCalendar.YearMonthDay [extrait de partsFromDate.__doc__]
standaloneMonthName(self, locale: Union[PySide6.QtCore.QLocale, PySide6.QtCore.QLocale.Language], month: int, year: Optional[int] = None, format: PySide6.QtCore.QLocale.FormatType = PySide6.QtCore.QLocale.FormatType.LongFormat) -> str standaloneMonthName(self, locale: Union[PySide6.QtCore.QLocale, PySide6.QtCore.QLocale.Language], month: int, year: Optional[int] = None, format: PySide6.QtCore.QLocale.FormatType = PySide6.QtCore.QLocale.FormatType.LongFormat) -> str [extrait de standaloneMonthName.__doc__]
standaloneWeekDayName(self, locale: Union[PySide6.QtCore.QLocale, PySide6.QtCore.QLocale.Language], day: int, format: PySide6.QtCore.QLocale.FormatType = PySide6.QtCore.QLocale.FormatType.LongFormat) -> str standaloneWeekDayName(self, locale: Union[PySide6.QtCore.QLocale, PySide6.QtCore.QLocale.Language], day: int, format: PySide6.QtCore.QLocale.FormatType = PySide6.QtCore.QLocale.FormatType.LongFormat) -> str [extrait de standaloneWeekDayName.__doc__]
System
SystemId(self) -> None SystemId(self) -> None [extrait de SystemId.__doc__]
weekDayName(self, locale: Union[PySide6.QtCore.QLocale, PySide6.QtCore.QLocale.Language], day: int, format: PySide6.QtCore.QLocale.FormatType = PySide6.QtCore.QLocale.FormatType.LongFormat) -> str weekDayName(self, locale: Union[PySide6.QtCore.QLocale, PySide6.QtCore.QLocale.Language], day: int, format: PySide6.QtCore.QLocale.FormatType = PySide6.QtCore.QLocale.FormatType.LongFormat) -> str [extrait de weekDayName.__doc__]
YearMonthDay YearMonthDay(self) -> None [extrait de YearMonthDay.__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__, __repr__, __sizeof__, __str__