4#ifndef QJALALI_CALENDAR_P_H
5#define QJALALI_CALENDAR_P_H
28 QString name()
const override;
29 static QStringList nameList();
31 int daysInMonth(
int month,
int year = QCalendar::Unspecified)
const override;
32 bool isLeapYear(
int year)
const override;
34 bool isLunar()
const override;
35 bool isLuniSolar()
const override;
36 bool isSolar()
const override;
38 bool dateToJulianDay(
int year,
int month,
int day, qint64 *jd)
const override;
39 QCalendar::YearMonthDay julianDayToDate(qint64 jd)
const override;
43 const QCalendarLocale *localeMonthIndexData()
const override;
44 const char16_t *localeMonthData()
const override;
The QJalaliCalendar class provides Jalali (Hijri Shamsi) calendar system implementation.
constexpr qint64 jalaliEpoch
qint64 cycleStart(int cycleNo)
static int cycle(qint64 jdn)
qint64 firstDayOfYear(int year, int cycleNo)
constexpr double yearLength
constexpr qint64 cycleDays
QT_REQUIRE_CONFIG(thread)