KCalendarSystemHijri Class Reference
Hijri calendar type implementation. More...
#include <kcalendarsystemhijri.h>
Inheritance diagram for KCalendarSystemHijri:

Public Member Functions | |
QString | monthName (const QDate &date, bool shortName) |
Gets specific calendar type month name for a given gregorian date. | |
int | year (const QDate &date) |
Gets specific calendar type year for a given gregorian date. | |
QString | formatDate (const QDate &date) |
Gets specific calendar type day/month/year formatted text date for a given gregorian date. | |
void | nextMonthDate (QDate &date) |
Gets specific calendar type (its gregorian equivalent) next month date for a given gregorian date. | |
void | previousMonthDate (QDate &date) |
Gets specific calendar type (its gregorian equivalent) previous month date for a given gregorian date. | |
void | nextYearDate (QDate &date) |
Gets specific calendar type next year date (its gregorian equivalent) for a given gregorian date. | |
void | previousYearDate (QDate &date) |
Gets specific calendar type (its gregorian equivalent) previous year date for a given gregorian date. | |
int | monthsInYear (int year) |
Gets specific calendar type number of month for a given year. | |
QString | monthName (int month) |
Gets specific calendar type month name. | |
void | constructDateInMonth (QDate &date, int month) |
Given a month, construct a valid date in given date's year. | |
void | constructDateInYear (QDate &date, int year) |
Given a year, construct a valid date. | |
QDate | parseDate (QString text) |
Convert a formatted day/month/year string to a valid date object. | |
QString | weekDayName (int col, bool shortName) |
Gets specific calendar type week day name. | |
int | dayOfTheWeek (const QDate &date) |
Gets specific calendar type number of day of week number for a given date. | |
int | numberOfDaysInMonth (const QDate &date) |
Gets specific calendar type number of days in month for a given date. | |
int | numberOfDaysPrevMonth (const QDate &date) |
Gets specific calendar type number of days in previous month for a given date. | |
int | maxValidYear () |
Gets the maximum year value supported by specific calendar type algorithms (QDate, 8000). | |
int | day (const QDate &date) |
Gets specific calendar type day number in month for a given date. | |
int | month (const QDate &date) |
Gets specific calendar type month for a given gregorian date. | |
int | numberOfDayInYear (const QDate &date) |
Gets specific calendar type day number in year for a given date. | |
int | weekDayOfPray () |
Gets the day of the week traditionaly associated with pray. | |
void | printType () |
Just a small debugging test ;). |
Detailed Description
Hijri calendar type implementation.
Definition at line 22 of file kcalendarsystemhijri.h.
Member Function Documentation
|
Gets specific calendar type month name for a given gregorian date.
Implements KCalendarSystem. Definition at line 28 of file kcalendarsystemhijri.cpp. References QDate::day(), QDate::month(), and QDate::year(). |
|
Gets specific calendar type year for a given gregorian date.
Implements KCalendarSystem. Definition at line 40 of file kcalendarsystemhijri.cpp. References QDate::day(), QDate::month(), and QDate::year(). Referenced by constructDateInMonth(), nextMonthDate(), nextYearDate(), parseDate(), previousMonthDate(), and previousYearDate(). |
|
Gets specific calendar type day/month/year formatted text date for a given gregorian date.
Implements KCalendarSystem. Definition at line 52 of file kcalendarsystemhijri.cpp. References QDate::day(), QDate::month(), QString::number(), and QDate::year(). |
|
Gets specific calendar type (its gregorian equivalent) next month date for a given gregorian date.
Implements KCalendarSystem. Definition at line 63 of file kcalendarsystemhijri.cpp. References day(), QDate::day(), QDate::month(), QDate::setYMD(), year(), and QDate::year(). |
|
Gets specific calendar type (its gregorian equivalent) previous month date for a given gregorian date.
Implements KCalendarSystem. Definition at line 92 of file kcalendarsystemhijri.cpp. References day(), QDate::day(), QDate::month(), QDate::setYMD(), year(), and QDate::year(). |
|
Gets specific calendar type next year date (its gregorian equivalent) for a given gregorian date.
Implements KCalendarSystem. Definition at line 122 of file kcalendarsystemhijri.cpp. References day(), QDate::day(), QDate::month(), QDate::setYMD(), year(), and QDate::year(). |
|
Gets specific calendar type (its gregorian equivalent) previous year date for a given gregorian date.
Implements KCalendarSystem. Definition at line 144 of file kcalendarsystemhijri.cpp. References day(), QDate::day(), QDate::month(), QDate::setYMD(), year(), and QDate::year(). |
|
Gets specific calendar type number of month for a given year.
Implements KCalendarSystem. Definition at line 166 of file kcalendarsystemhijri.cpp. |
|
Gets specific calendar type month name.
Implements KCalendarSystem. Definition at line 172 of file kcalendarsystemhijri.cpp. |
|
Given a month, construct a valid date in given date's year.
Implements KCalendarSystem. Definition at line 179 of file kcalendarsystemhijri.cpp. References day(), QDate::day(), QDate::month(), QDate::setYMD(), year(), and QDate::year(). |
|
Given a year, construct a valid date.
Implements KCalendarSystem. Definition at line 200 of file kcalendarsystemhijri.cpp. References day(), QDate::day(), QDate::month(), QDate::setYMD(), and QDate::year(). |
|
Convert a formatted day/month/year string to a valid date object.
Implements KCalendarSystem. Definition at line 221 of file kcalendarsystemhijri.cpp. References day(), month(), QDate::setYMD(), QStringList::split(), QString::toInt(), QDate::year(), and year(). |
|
Gets specific calendar type week day name.
Implements KCalendarSystem. Definition at line 252 of file kcalendarsystemhijri.cpp. |
|
Gets specific calendar type number of day of week number for a given date.
Implements KCalendarSystem. Definition at line 260 of file kcalendarsystemhijri.cpp. References QDate::day(), QDate::month(), and QDate::year(). |
|
Gets specific calendar type number of days in month for a given date.
Implements KCalendarSystem. Definition at line 272 of file kcalendarsystemhijri.cpp. References QDate::day(), QDate::month(), and QDate::year(). |
|
Gets specific calendar type number of days in previous month for a given date.
Implements KCalendarSystem. Definition at line 296 of file kcalendarsystemhijri.cpp. |
|
Gets the maximum year value supported by specific calendar type algorithms (QDate, 8000).
Implements KCalendarSystem. Definition at line 315 of file kcalendarsystemhijri.cpp. References QDate::day(), QDate::month(), and QDate::year(). |
|
Gets specific calendar type day number in month for a given date.
Implements KCalendarSystem. Definition at line 326 of file kcalendarsystemhijri.cpp. References QDate::day(), QDate::month(), and QDate::year(). Referenced by constructDateInMonth(), constructDateInYear(), nextMonthDate(), nextYearDate(), numberOfDayInYear(), parseDate(), previousMonthDate(), and previousYearDate(). |
|
Gets specific calendar type month for a given gregorian date.
Implements KCalendarSystem. Definition at line 335 of file kcalendarsystemhijri.cpp. References QDate::day(), QDate::month(), and QDate::year(). Referenced by parseDate(). |
|
Gets specific calendar type day number in year for a given date.
Implements KCalendarSystem. Definition at line 344 of file kcalendarsystemhijri.cpp. References day(), QDate::day(), QDate::month(), and QDate::year(). |
|
Gets the day of the week traditionaly associated with pray.
Implements KCalendarSystem. Definition at line 359 of file kcalendarsystemhijri.cpp. |
|
Just a small debugging test ;).
Implements KCalendarSystem. Definition at line 362 of file kcalendarsystemhijri.cpp. |
The documentation for this class was generated from the following files: