QJalaliCalendar Class
QJalaliCalendar 类提供 Jalali(Hijri Shamsi)日历系统的实现。更多
Header: | #include <QJalaliCalendar> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Core) target_link_libraries(mytarget PRIVATE Qt6::Core) |
qmake: | QT += core |
详细说明
太阳回历系统
太阳历(Solar Hijri calendar),又称太阳海历(Solar Hejri calendar)、沙姆西海历(Shamsi Hijri calendar)或贾拉利历(Jalali calendar),是伊朗和阿富汗的官方日历。根据伊朗标准时间子午线(52.5°E 或 GMT+3.5h)的天文计算,春分(诺鲁孜节)时是该历法的起始日。在预测春分日期方面,这种起始时刻的确定比格里高利历更为精确,因为它使用的是天文观测数据而非数学规则。
日历组织
十二个月中的每个月都对应一个黄道星座。前 6 个月为 31 天,后 5 个月为 30 天,最后一个月在平年为 29 天,在闰年为 30 天。元旦总是在三月分。
闰年规则
太阳历每隔 7 个 4 年闰年,就会出现一个 5 年闰年。它通常以 33 年为一个周期,偶尔会被 29 年或 37 年的单个子周期打断。出现这种情况的原因是它与观测到的春分点一致。相比之下,一些不太准确的预测算法是基于热带年平均天数(365.2422 天,近似于 128 年周期或 2820 年大周期)和春分平均间隔(365.2424 天,近似于 33 年周期)之间的混淆而使用的。
来源:维基百科维基百科 "回历 "页面
© 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.