KDECore
kcalendarsystemprivate_p.h
Go to the documentation of this file.
52 virtual QString monthName(int month, int year, KLocale::DateTimeComponentFormat format, bool possessive = false) const;
56 virtual int week(const QDate &date, KLocale::WeekNumberSystem weekNumberSystem, int *yearNum) const;
58 virtual int regularWeekNumber(const QDate &date, int weekStartDay, int firstWeekNumber, int *weekYear) const;
75 virtual QString stringFromInteger(int number, int padWidth = 0, QChar padChar = QLatin1Char('0')) const;
76 virtual QString stringFromInteger(int number, int padWidth, QChar padChar, KLocale::DigitSet digitSet) const;
92 void addEra(char direction, int offset, const QDate &startDate, int startYear, const QDate &endDate,
QList< KCalendarEra > * m_eraList
Definition: kcalendarsystemprivate_p.h:107
KCalendarEra era(const QDate &eraDate) const
Definition: kcalendarsystem.cpp:922
int applyShortYearWindow(int inputYear) const
Definition: kcalendarsystem.cpp:1029
virtual int week(const QDate &date, KLocale::WeekNumberSystem weekNumberSystem, int *yearNum) const
Definition: kcalendarsystem.cpp:406
virtual int earliestValidYear() const
Definition: kcalendarsystem.cpp:371
KCalendarSystemPrivate(KCalendarSystem *q)
Definition: kcalendarsystem.cpp:247
virtual int regularWeekNumber(const QDate &date, int weekStartDay, int firstWeekNumber, int *weekYear) const
Definition: kcalendarsystem.cpp:482
int addYears(int startYear, int yearsToAdd) const
Definition: kcalendarsystem.cpp:808
virtual int simpleWeekNumber(const QDate &date, int *yearNum) const
Definition: kcalendarsystem.cpp:508
virtual int monthsDifference(const QDate &fromDate, const QDate &toDate) const
Definition: kcalendarsystem.cpp:703
virtual void loadDefaultEraList()
Definition: kcalendarsystem.cpp:269
virtual int regularWeeksInYear(int year, int weekStartDay, int firstWeekNumber) const
Definition: kcalendarsystem.cpp:553
virtual int integerFromString(const QString &string, int maxLength, int &readLength) const
Definition: kcalendarsystem.cpp:750
KSharedConfig::Ptr m_config
Definition: kcalendarsystemprivate_p.h:106
virtual int monthsInYear(int year) const
Definition: kcalendarsystem.cpp:277
void loadConfig(const QString &calendarType)
Definition: kcalendarsystem.cpp:1064
virtual int maxMonthsInYear() const
Definition: kcalendarsystem.cpp:362
KCalendarSystem abstract base class, provides support for local Calendar Systems in KDE...
Definition: kcalendarsystem.h:40
virtual int daysInYear(int year) const
Definition: kcalendarsystem.cpp:304
virtual int daysInWeek() const
Definition: kcalendarsystem.cpp:315
Definition: kcalendarera_p.h:43
QDate lastDayOfMonth(int year, int month) const
Definition: kcalendarsystem.cpp:900
virtual int simpleWeeksInYear(int year) const
Definition: kcalendarsystem.cpp:559
int m_shortYearWindowStartYear
Definition: kcalendarsystemprivate_p.h:108
virtual QString stringFromInteger(int number, int padWidth=0, QChar padChar=QLatin1Char('0')) const
Definition: kcalendarsystem.cpp:781
virtual bool hasLeapMonths() const
Definition: kcalendarsystem.cpp:341
QDate firstDayOfMonth(int year, int month) const
Definition: kcalendarsystem.cpp:893
bool setAnyDate(QDate &date, int year, int month, int day) const
Definition: kcalendarsystem.cpp:798
virtual int maxDaysInWeek() const
Definition: kcalendarsystem.cpp:355
QList< KCalendarEra > * eraList() const
Definition: kcalendarsystem.cpp:917
int differenceYearNumbers(int fromYear, int toYear) const
Definition: kcalendarsystem.cpp:825
virtual bool hasYearZero() const
Definition: kcalendarsystem.cpp:348
int dayOfWeek(const QDate &date) const
Definition: kcalendarsystem.cpp:869
virtual ~KCalendarSystemPrivate()
Definition: kcalendarsystem.cpp:254
virtual int weeksInYear(int year, KLocale::WeekNumberSystem weekNumberSystem) const
Definition: kcalendarsystem.cpp:519
virtual QString monthName(int month, int year, KLocale::DateTimeComponentFormat format, bool possessive=false) const
Definition: kcalendarsystem.cpp:387
virtual int latestValidYear() const
Definition: kcalendarsystem.cpp:380
virtual int daysInMonth(int year, int month) const
Definition: kcalendarsystem.cpp:285
virtual void dateDifference(const QDate &fromDate, const QDate &toDate, int *yearsDiff, int *monthsDiff, int *daysDiff, int *direction) const
Definition: kcalendarsystem.cpp:567
KLocale provides support for country specific stuff like the national language.
Definition: klocale.h:69
virtual QString weekDayName(int weekDay, KLocale::DateTimeComponentFormat format) const
Definition: kcalendarsystem.cpp:398
QDate lastDayOfYear(int year) const
Definition: kcalendarsystem.cpp:885
QDate firstDayOfYear(int year) const
Definition: kcalendarsystem.cpp:878
void loadEraList(const KConfigGroup &cg)
Definition: kcalendarsystem.cpp:946
virtual KLocale::CalendarSystem calendarSystem() const
Definition: kcalendarsystem.cpp:261
void loadShortYearWindowStartYear(const KConfigGroup &cg)
Definition: kcalendarsystem.cpp:1044
virtual bool isLeapYear(int year) const
Definition: kcalendarsystem.cpp:322
virtual int isoWeekNumber(const QDate &date, int *yearNum) const
Definition: kcalendarsystem.cpp:427
int dayOfYear(const QDate &date) const
Definition: kcalendarsystem.cpp:860
virtual int isoWeeksInYear(int year) const
Definition: kcalendarsystem.cpp:537
virtual int yearsDifference(const QDate &fromDate, const QDate &toDate) const
Definition: kcalendarsystem.cpp:653
int shortYearWindowStartYear() const
Definition: kcalendarsystem.cpp:1024
QString simpleDateString(const QString &str) const
Definition: kcalendarsystem.cpp:846
void addEra(char direction, int offset, const QDate &startDate, int startYear, const QDate &endDate, const QString &name, const QString &shortName, const QString &format)
Definition: kcalendarsystem.cpp:1000
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.