4#ifndef QJALALI_CALENDAR_P_H
5#define QJALALI_CALENDAR_P_H
The QCalendarBackend class provides basic calendaring functions.
virtual int daysInMonth(int month, int year=QCalendar::Unspecified) const =0
Returns number of days in the month number month, in year year.
virtual const char16_t * localeMonthData() const =0
virtual bool isSolar() const =0
Returns true if this calendar is a solar calendar.
virtual bool isLuniSolar() const =0
Returns true if this calendar is a lunisolar calendar.
virtual const QCalendarLocale * localeMonthIndexData() const =0
virtual bool isLeapYear(int year) const =0
Returns true if the specified year is a leap year for this calendar.
virtual bool isLunar() const =0
Returns true if this calendar is a lunar calendar.
virtual bool dateToJulianDay(int year, int month, int day, qint64 *jd) const =0
Computes the Julian day number corresponding to the specified year, month, and day.
virtual QCalendar::YearMonthDay julianDayToDate(qint64 jd) const =0
Computes the year, month, and day in this calendar for the given Julian day number jd.
virtual QString name() const =0
Returns the primary name of the calendar.
The QJalaliCalendar class provides Jalali (Hijri Shamsi) calendar system implementation.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
#define QT_REQUIRE_CONFIG(feature)