QJulianCalendar 类

QJulianCalendar 类提供儒略历系统实现。 更多...

头: #include <QJulianCalendar>
qmake: QT += core
Since: Qt 5.14
继承: QRomanCalendar

该类在 Qt 5.14 引入。

详细描述

儒略历

The Julian calendar, proposed by Julius Caesar in 46 BC (708 AUC), was a reform of the Roman calendar. It took effect on 1 January 45 BC (AUC 709), by edict. It was the predominant calendar in the Roman world, most of Europe, and in European settlements in the Americas and elsewhere, until it was refined and gradually replaced by the Gregorian calendar, promulgated in 1582 by Pope Gregory XIII.

The Julian calendar gains against the mean tropical year at the rate of one day in 128 years. For the Gregorian calendar, the figure is one day in 3030 years. The difference in the average length of the year between Julian (365.25 days) and Gregorian (365.2425 days) is 0.002%.

Source: 儒略历维基百科页面