W3cubDocs

/Qt

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 COMPONENTS Core REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core
Since: Qt 5.14
Inherited By:

QGregorianCalendar, QJulianCalendar, and QMilankovicCalendar

Detailed Description

Calendars based on the ancient Roman calendar share the names of months, whose 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.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qromancalendar.html