QRomanCalendar Class

The QRomanCalendar class is a shared base for calendars based on the ancient Roman calendar. More...

Header: #include <QRomanCalendar>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core
Since: Qt 5.14
Inherited By:

QGregorianCalendar, QJulianCalendar, and QMilankovicCalendar

Reimplemented Public Functions

virtual int daysInMonth(int month, int year = QCalendar::Unspecified) const override
virtual bool isLunar() const override
virtual bool isLuniSolar() const override
virtual bool isSolar() const override
virtual int minimumDaysInMonth() const override

Reimplemented Protected Functions

virtual const char16_t *localeMonthData() const override
virtual const QCalendarLocale *localeMonthIndexData() const override

Detailed Description

Calendars based on the ancient Roman calendar have several common properties: they have the same names for months, the month lengths depend in a common way on whether the year is a leap year. They differ in how they determine which years are leap years.

See also QGregorianCalendar, QJulianCalendar, and QMilankovicCalendar.

Member Function Documentation

[override virtual] int QRomanCalendar::daysInMonth(int month, int year = QCalendar::Unspecified) const

[override virtual] bool QRomanCalendar::isLunar() const

[override virtual] bool QRomanCalendar::isLuniSolar() const

[override virtual] bool QRomanCalendar::isSolar() const

[override virtual protected] const char16_t *QRomanCalendar::localeMonthData() const

[override virtual protected] const QCalendarLocale *QRomanCalendar::localeMonthIndexData() const

[override virtual] int QRomanCalendar::minimumDaysInMonth() const

© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.