KCalendarSystemPrivate Class Reference
#include <kcalendarsystemprivate_p.h>

Public Member Functions | |
| KCalendarSystemPrivate (KCalendarSystem *q) | |
| virtual | ~KCalendarSystemPrivate () |
| void | addEra (char direction, int offset, const QDate &startDate, int startYear, const QDate &endDate, const QString &name, const QString &shortName, const QString &format) |
| int | addYears (int startYear, int yearsToAdd) const |
| int | applyShortYearWindow (int inputYear) const |
| virtual KLocale::CalendarSystem | calendarSystem () const |
| KSharedConfig::Ptr | config () |
| virtual void | dateDifference (const QDate &fromDate, const QDate &toDate, int *yearsDiff, int *monthsDiff, int *daysDiff, int *direction) const |
| virtual int | daysInMonth (int year, int month) const |
| virtual int | daysInWeek () const |
| virtual int | daysInYear (int year) const |
| int | differenceYearNumbers (int fromYear, int toYear) const |
| virtual int | earliestValidYear () const |
| KCalendarEra | era (const QDate &eraDate) const |
| KCalendarEra | era (const QString &eraName, int yearInEra) const |
| QList< KCalendarEra > * | eraList () const |
| QDate | firstDayOfMonth (int year, int month) const |
| QDate | firstDayOfYear (int year) const |
| virtual bool | hasLeapMonths () const |
| virtual bool | hasYearZero () const |
| virtual int | integerFromString (const QString &string, int maxLength, int &readLength) const |
| QDate | invalidDate () const |
| virtual bool | isLeapYear (int year) const |
| QDate | lastDayOfMonth (int year, int month) const |
| QDate | lastDayOfYear (int year) const |
| virtual int | latestValidYear () const |
| void | loadConfig (const QString &calendarType) |
| virtual void | loadDefaultEraList () |
| void | loadEraList (const KConfigGroup &cg) |
| void | loadShortYearWindowStartYear (const KConfigGroup &cg) |
| const KLocale * | locale () const |
| virtual int | maxDaysInWeek () const |
| virtual int | maxMonthsInYear () const |
| virtual int | monthsDifference (const QDate &fromDate, const QDate &toDate) const |
| virtual int | monthsInYear (int year) const |
| bool | setAnyDate (QDate &date, int year, int month, int day) const |
| int | shortYearWindowStartYear () const |
| QString | simpleDateString (const QString &str) const |
| virtual QString | stringFromInteger (int number, int padWidth, QChar padChar, KLocale::DigitSet digitSet) const |
| virtual QString | stringFromInteger (int number, int padWidth=0, QChar padChar=QLatin1Char('0')) const |
| virtual int | yearsDifference (const QDate &fromDate, const QDate &toDate) const |
Public Attributes | |
| KSharedConfig::Ptr | m_config |
| QList< KCalendarEra > * | m_eraList |
| const KLocale * | m_locale |
| int | m_shortYearWindowStartYear |
| const KCalendarSystem * | q |
Detailed Description
Definition at line 47 of file kcalendarsystemprivate_p.h.
Constructor & Destructor Documentation
| KCalendarSystemPrivate::KCalendarSystemPrivate | ( | KCalendarSystem * | q | ) | [explicit] |
Definition at line 210 of file kcalendarsystem.cpp.
| KCalendarSystemPrivate::~KCalendarSystemPrivate | ( | ) | [virtual] |
Definition at line 216 of file kcalendarsystem.cpp.
Member Function Documentation
| void KCalendarSystemPrivate::addEra | ( | char | direction, |
| int | offset, | ||
| const QDate & | startDate, | ||
| int | startYear, | ||
| const QDate & | endDate, | ||
| const QString & | name, | ||
| const QString & | shortName, | ||
| const QString & | format | ||
| ) |
Definition at line 765 of file kcalendarsystem.cpp.
| int KCalendarSystemPrivate::addYears | ( | int | startYear, |
| int | yearsToAdd | ||
| ) | const |
Definition at line 591 of file kcalendarsystem.cpp.
| int KCalendarSystemPrivate::applyShortYearWindow | ( | int | inputYear | ) | const |
Definition at line 794 of file kcalendarsystem.cpp.
| KLocale::CalendarSystem KCalendarSystemPrivate::calendarSystem | ( | ) | const [virtual] |
Reimplemented in KCalendarSystemCopticPrivate, and KCalendarSystemGregorianProlepticPrivate.
Definition at line 223 of file kcalendarsystem.cpp.
| KSharedConfig::Ptr KCalendarSystemPrivate::config | ( | ) |
Definition at line 820 of file kcalendarsystem.cpp.
| void KCalendarSystemPrivate::dateDifference | ( | const QDate & | fromDate, |
| const QDate & | toDate, | ||
| int * | yearsDiff, | ||
| int * | monthsDiff, | ||
| int * | daysDiff, | ||
| int * | direction | ||
| ) | const [virtual] |
Definition at line 350 of file kcalendarsystem.cpp.
| int KCalendarSystemPrivate::daysInMonth | ( | int | year, |
| int | month | ||
| ) | const [virtual] |
Reimplemented in KCalendarSystemCopticPrivate, and KCalendarSystemGregorianProlepticPrivate.
Definition at line 247 of file kcalendarsystem.cpp.
| int KCalendarSystemPrivate::daysInWeek | ( | ) | const [virtual] |
Reimplemented in KCalendarSystemCopticPrivate, and KCalendarSystemGregorianProlepticPrivate.
Definition at line 277 of file kcalendarsystem.cpp.
| int KCalendarSystemPrivate::daysInYear | ( | int | year | ) | const [virtual] |
Reimplemented in KCalendarSystemCopticPrivate, and KCalendarSystemGregorianProlepticPrivate.
Definition at line 266 of file kcalendarsystem.cpp.
| int KCalendarSystemPrivate::differenceYearNumbers | ( | int | fromYear, |
| int | toYear | ||
| ) | const |
Definition at line 608 of file kcalendarsystem.cpp.
| int KCalendarSystemPrivate::earliestValidYear | ( | ) | const [virtual] |
Reimplemented in KCalendarSystemCopticPrivate, and KCalendarSystemGregorianProlepticPrivate.
Definition at line 333 of file kcalendarsystem.cpp.
| KCalendarEra KCalendarSystemPrivate::era | ( | const QDate & | eraDate | ) | const |
Definition at line 687 of file kcalendarsystem.cpp.
| KCalendarEra KCalendarSystemPrivate::era | ( | const QString & | eraName, |
| int | yearInEra | ||
| ) | const |
Definition at line 697 of file kcalendarsystem.cpp.
| QList< KCalendarEra > * KCalendarSystemPrivate::eraList | ( | ) | const |
Definition at line 682 of file kcalendarsystem.cpp.
| QDate KCalendarSystemPrivate::firstDayOfMonth | ( | int | year, |
| int | month | ||
| ) | const |
Definition at line 658 of file kcalendarsystem.cpp.
| QDate KCalendarSystemPrivate::firstDayOfYear | ( | int | year | ) | const |
Definition at line 643 of file kcalendarsystem.cpp.
| bool KCalendarSystemPrivate::hasLeapMonths | ( | ) | const [virtual] |
Reimplemented in KCalendarSystemCopticPrivate, and KCalendarSystemGregorianProlepticPrivate.
Definition at line 303 of file kcalendarsystem.cpp.
| bool KCalendarSystemPrivate::hasYearZero | ( | ) | const [virtual] |
Reimplemented in KCalendarSystemCopticPrivate, and KCalendarSystemGregorianProlepticPrivate.
Definition at line 310 of file kcalendarsystem.cpp.
| int KCalendarSystemPrivate::integerFromString | ( | const QString & | string, |
| int | maxLength, | ||
| int & | readLength | ||
| ) | const [virtual] |
Definition at line 533 of file kcalendarsystem.cpp.
| QDate KCalendarSystemPrivate::invalidDate | ( | ) | const |
Definition at line 623 of file kcalendarsystem.cpp.
| bool KCalendarSystemPrivate::isLeapYear | ( | int | year | ) | const [virtual] |
Reimplemented in KCalendarSystemCopticPrivate, and KCalendarSystemGregorianProlepticPrivate.
Definition at line 284 of file kcalendarsystem.cpp.
| QDate KCalendarSystemPrivate::lastDayOfMonth | ( | int | year, |
| int | month | ||
| ) | const |
Definition at line 665 of file kcalendarsystem.cpp.
| QDate KCalendarSystemPrivate::lastDayOfYear | ( | int | year | ) | const |
Definition at line 650 of file kcalendarsystem.cpp.
| int KCalendarSystemPrivate::latestValidYear | ( | ) | const [virtual] |
Reimplemented in KCalendarSystemCopticPrivate, and KCalendarSystemGregorianProlepticPrivate.
Definition at line 342 of file kcalendarsystem.cpp.
| void KCalendarSystemPrivate::loadConfig | ( | const QString & | calendarType | ) |
Definition at line 829 of file kcalendarsystem.cpp.
| void KCalendarSystemPrivate::loadDefaultEraList | ( | ) | [virtual] |
Reimplemented in KCalendarSystemCopticPrivate, and KCalendarSystemGregorianProlepticPrivate.
Definition at line 231 of file kcalendarsystem.cpp.
| void KCalendarSystemPrivate::loadEraList | ( | const KConfigGroup & | cg | ) |
Definition at line 711 of file kcalendarsystem.cpp.
| void KCalendarSystemPrivate::loadShortYearWindowStartYear | ( | const KConfigGroup & | cg | ) |
Definition at line 809 of file kcalendarsystem.cpp.
| const KLocale * KCalendarSystemPrivate::locale | ( | ) | const |
Definition at line 673 of file kcalendarsystem.cpp.
| int KCalendarSystemPrivate::maxDaysInWeek | ( | ) | const [virtual] |
Reimplemented in KCalendarSystemCopticPrivate, and KCalendarSystemGregorianProlepticPrivate.
Definition at line 317 of file kcalendarsystem.cpp.
| int KCalendarSystemPrivate::maxMonthsInYear | ( | ) | const [virtual] |
Reimplemented in KCalendarSystemCopticPrivate, and KCalendarSystemGregorianProlepticPrivate.
Definition at line 324 of file kcalendarsystem.cpp.
| int KCalendarSystemPrivate::monthsDifference | ( | const QDate & | fromDate, |
| const QDate & | toDate | ||
| ) | const [virtual] |
Definition at line 486 of file kcalendarsystem.cpp.
| int KCalendarSystemPrivate::monthsInYear | ( | int | year | ) | const [virtual] |
Reimplemented in KCalendarSystemCopticPrivate, and KCalendarSystemGregorianProlepticPrivate.
Definition at line 239 of file kcalendarsystem.cpp.
| bool KCalendarSystemPrivate::setAnyDate | ( | QDate & | date, |
| int | year, | ||
| int | month, | ||
| int | day | ||
| ) | const |
Definition at line 581 of file kcalendarsystem.cpp.
| int KCalendarSystemPrivate::shortYearWindowStartYear | ( | ) | const |
Definition at line 789 of file kcalendarsystem.cpp.
Definition at line 629 of file kcalendarsystem.cpp.
| QString KCalendarSystemPrivate::stringFromInteger | ( | int | number, |
| int | padWidth, | ||
| QChar | padChar, | ||
| KLocale::DigitSet | digitSet | ||
| ) | const [virtual] |
Definition at line 571 of file kcalendarsystem.cpp.
| QString KCalendarSystemPrivate::stringFromInteger | ( | int | number, |
| int | padWidth = 0, |
||
| QChar | padChar = QLatin1Char('0') |
||
| ) | const [virtual] |
Definition at line 564 of file kcalendarsystem.cpp.
| int KCalendarSystemPrivate::yearsDifference | ( | const QDate & | fromDate, |
| const QDate & | toDate | ||
| ) | const [virtual] |
Definition at line 436 of file kcalendarsystem.cpp.
Member Data Documentation
Definition at line 108 of file kcalendarsystemprivate_p.h.
Definition at line 109 of file kcalendarsystemprivate_p.h.
Definition at line 107 of file kcalendarsystemprivate_p.h.
Definition at line 110 of file kcalendarsystemprivate_p.h.
Definition at line 106 of file kcalendarsystemprivate_p.h.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference