KDECore
#include <kcalendarsystemgregorianprivate_p.h>
Public Member Functions | |
KCalendarSystemGregorianPrivate (KCalendarSystemGregorian *q) | |
virtual | ~KCalendarSystemGregorianPrivate () |
virtual KLocale::CalendarSystem | calendarSystem () const |
virtual int | daysInMonth (int year, int month) const |
virtual int | daysInWeek () const |
virtual int | daysInYear (int year) const |
virtual int | earliestValidYear () const |
virtual bool | hasLeapMonths () const |
virtual bool | hasYearZero () const |
virtual bool | isLeapYear (int year) const |
virtual int | latestValidYear () const |
virtual void | loadDefaultEraList () |
virtual int | maxDaysInWeek () const |
virtual int | maxMonthsInYear () const |
virtual QString | monthName (int month, int year, KLocale::DateTimeComponentFormat format, bool possessive) const |
virtual int | monthsInYear (int year) const |
virtual QString | weekDayName (int weekDay, KLocale::DateTimeComponentFormat format) const |
Public Member Functions inherited from KCalendarSystemPrivate | |
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 |
KSharedConfig::Ptr | config () |
virtual void | dateDifference (const QDate &fromDate, const QDate &toDate, int *yearsDiff, int *monthsDiff, int *daysDiff, int *direction) const |
int | dayOfWeek (const QDate &date) const |
int | dayOfYear (const QDate &date) const |
int | differenceYearNumbers (int fromYear, int toYear) 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 int | integerFromString (const QString &string, int maxLength, int &readLength) const |
QDate | invalidDate () const |
virtual int | isoWeekNumber (const QDate &date, int *yearNum) const |
virtual int | isoWeeksInYear (int year) const |
QDate | lastDayOfMonth (int year, int month) const |
QDate | lastDayOfYear (int year) const |
void | loadConfig (const QString &calendarType) |
void | loadEraList (const KConfigGroup &cg) |
void | loadShortYearWindowStartYear (const KConfigGroup &cg) |
const KLocale * | locale () const |
virtual int | monthsDifference (const QDate &fromDate, const QDate &toDate) const |
virtual int | regularWeekNumber (const QDate &date, int weekStartDay, int firstWeekNumber, int *weekYear) const |
virtual int | regularWeeksInYear (int year, int weekStartDay, int firstWeekNumber) const |
bool | setAnyDate (QDate &date, int year, int month, int day) const |
int | shortYearWindowStartYear () const |
QString | simpleDateString (const QString &str) const |
virtual int | simpleWeekNumber (const QDate &date, int *yearNum) const |
virtual int | simpleWeeksInYear (int year) const |
virtual QString | stringFromInteger (int number, int padWidth=0, QChar padChar=QLatin1Char('0')) const |
virtual QString | stringFromInteger (int number, int padWidth, QChar padChar, KLocale::DigitSet digitSet) const |
virtual int | week (const QDate &date, KLocale::WeekNumberSystem weekNumberSystem, int *yearNum) const |
virtual int | weeksInYear (int year, KLocale::WeekNumberSystem weekNumberSystem) const |
virtual int | yearsDifference (const QDate &fromDate, const QDate &toDate) const |
Public Attributes | |
bool | m_useCommonEra |
Public Attributes inherited from KCalendarSystemPrivate | |
KSharedConfig::Ptr | m_config |
QList< KCalendarEra > * | m_eraList |
const KLocale * | m_locale |
int | m_shortYearWindowStartYear |
const KCalendarSystem * | q |
Detailed Description
Definition at line 27 of file kcalendarsystemgregorianprivate_p.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 36 of file kcalendarsystemgregorian.cpp.
|
virtual |
Definition at line 41 of file kcalendarsystemgregorian.cpp.
Member Function Documentation
|
virtual |
Reimplemented from KCalendarSystemPrivate.
Definition at line 45 of file kcalendarsystemgregorian.cpp.
|
virtual |
Reimplemented from KCalendarSystemPrivate.
Definition at line 86 of file kcalendarsystemgregorian.cpp.
|
virtual |
Reimplemented from KCalendarSystemPrivate.
Definition at line 112 of file kcalendarsystemgregorian.cpp.
|
virtual |
Reimplemented from KCalendarSystemPrivate.
Definition at line 103 of file kcalendarsystemgregorian.cpp.
|
virtual |
Reimplemented from KCalendarSystemPrivate.
Definition at line 154 of file kcalendarsystemgregorian.cpp.
|
virtual |
Reimplemented from KCalendarSystemPrivate.
Definition at line 134 of file kcalendarsystemgregorian.cpp.
|
virtual |
Reimplemented from KCalendarSystemPrivate.
Definition at line 139 of file kcalendarsystemgregorian.cpp.
|
virtual |
Reimplemented from KCalendarSystemPrivate.
Definition at line 117 of file kcalendarsystemgregorian.cpp.
|
virtual |
Reimplemented from KCalendarSystemPrivate.
Definition at line 159 of file kcalendarsystemgregorian.cpp.
|
virtual |
Reimplemented from KCalendarSystemPrivate.
Definition at line 52 of file kcalendarsystemgregorian.cpp.
|
virtual |
Reimplemented from KCalendarSystemPrivate.
Definition at line 144 of file kcalendarsystemgregorian.cpp.
|
virtual |
Reimplemented from KCalendarSystemPrivate.
Definition at line 149 of file kcalendarsystemgregorian.cpp.
|
virtual |
Reimplemented from KCalendarSystemPrivate.
Definition at line 164 of file kcalendarsystemgregorian.cpp.
|
virtual |
Reimplemented from KCalendarSystemPrivate.
Definition at line 80 of file kcalendarsystemgregorian.cpp.
|
virtual |
Reimplemented from KCalendarSystemPrivate.
Definition at line 323 of file kcalendarsystemgregorian.cpp.
Member Data Documentation
bool KCalendarSystemGregorianPrivate::m_useCommonEra |
Definition at line 51 of file kcalendarsystemgregorianprivate_p.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.