5#ifndef QJALALI_CALENDAR_P_H
6#define QJALALI_CALENDAR_P_H
29 QString name()
const override;
30 static QStringList nameList();
32 int daysInMonth(
int month,
int year = QCalendar::Unspecified)
const override;
33 bool isLeapYear(
int year)
const override;
35 bool isLunar()
const override;
36 bool isLuniSolar()
const override;
37 bool isSolar()
const override;
39 bool dateToJulianDay(
int year,
int month,
int day, qint64 *jd)
const override;
40 QCalendar::YearMonthDay julianDayToDate(qint64 jd)
const override;
44 const QCalendarLocale *localeMonthIndexData()
const override;
45 const char16_t *localeMonthData()
const override;
The QJalaliCalendar class provides Jalali (Hijri Shamsi) calendar system implementation.
Combined button and popup list for selecting options.
QT_REQUIRE_CONFIG(liburing)
constexpr qint64 jalaliEpoch
qint64 cycleStart(int cycleNo)
static int cycle(qint64 jdn)
qint64 firstDayOfYear(int year, int cycleNo)
constexpr double yearLength
constexpr qint64 cycleDays