QMilankovicCalendar Class

The QMilankovicCalendar class provides Milanković calendar system implementation. More...

Header: #include <QMilankovicCalendar>
qmake: QT += core
Since: Qt 5.14
Inherits: QRomanCalendar

Public Functions

Reimplemented Public Functions

virtual QCalendar::System calendarSystem() const override
virtual bool dateToJulianDay(int year, int month, int day, qint64 *jd) const override
virtual bool isLeapYear(int year) const override
virtual QCalendar::YearMonthDay julianDayToDate(qint64 jd) const override
virtual QString name() const override

Additional Inherited Members

Detailed Description

The QMilankovicCalendar class provides Milanković calendar system implementation.

The Revised Julian calendar, also known as the Milanković calendar, or, less formally, new calendar, is a calendar, developed and proposed by the Serbian scientist Milutin Milanković in 1923, which effectively discontinued the 340 years of divergence between the naming of dates sanctioned by those Eastern Orthodox churches adopting it and the Gregorian calendar that has come to predominate worldwide. This calendar was intended to replace the ecclesiastical calendar based on the Julian calendar hitherto in use by all of the Eastern Orthodox Church. The Revised Julian calendar temporarily aligned its dates with the Gregorian calendar proclaimed in 1582 by Pope Gregory XIII for adoption by the Christian world. The calendar has been adopted by the Orthodox churches of Constantinople, Albania, Alexandria, Antioch, Bulgaria, Cyprus, Greece, Poland, and Romania.

Source: Wikipedia page on Milanković Calendar

Member Function Documentation

QMilankovicCalendar::QMilankovicCalendar()

Default constructs an instance of QMilankovicCalendar.

[override virtual] QCalendar::System QMilankovicCalendar::calendarSystem() const

[override virtual] bool QMilankovicCalendar::dateToJulianDay(int year, int month, int day, qint64 *jd) const

[override virtual] bool QMilankovicCalendar::isLeapYear(int year) const

[override virtual] QCalendar::YearMonthDay QMilankovicCalendar::julianDayToDate(qint64 jd) const

[override virtual] QString QMilankovicCalendar::name() const