QJulianCalendar Class

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

Header: #include <QJulianCalendar>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core
继承: QRomanCalendar

详细说明

儒略历

儒略历由凯撒于公元前 46 年(公元 708 年)提出,是对罗马历法的改革。它于公元前 45 年 1 月 1 日(公元 709 年)通过法令生效。在罗马世界、欧洲大部分地区以及美洲和其他地方的欧洲定居点,它一直是主要的历法,直到它被完善并逐渐被教皇格里高利十三世于 1582 年颁布的格里高利历所取代。

儒略历与平均热带年相比,每 128 年增加一天。而格里高利历则是每 3030 年增加一天。儒略历(365.25 天)和格里高利历(365.2425 天)的年平均长度相差 0.002%。

资料来源:维基百科维基百科关于儒略历的页面

© 2025 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.