KDECore
kcalendarsystem.h
Go to the documentation of this file.
49 LongFormat
60 NarrowName
69 NarrowDayName
83 KDE_DEPRECATED static KCalendarSystem *create(const QString & calType = QLatin1String("gregorian"),
101 KDE_DEPRECATED static KCalendarSystem *create(const QString & calType, KSharedConfig::Ptr config,
129 static KCalendarSystem *create(KLocale::CalendarSystem calendarSystem, KSharedConfig::Ptr config,
177 static QString calendarLabel(KLocale::CalendarSystem calendarSystem, const KLocale *locale = KGlobal::locale());
190 KDE_DEPRECATED static KLocale::CalendarSystem calendarSystemForCalendarType(const QString &calendarType);
796 int week(const QDate &date, KLocale::WeekNumberSystem weekNumberSystem, int *yearNum = 0) const;
959 KDE_DEPRECATED virtual QString yearString(const QDate &date, StringFormat format = LongFormat) const;
971 KDE_DEPRECATED virtual QString monthString(const QDate &pDate, StringFormat format = LongFormat) const;
983 KDE_DEPRECATED virtual QString dayString(const QDate &pDate, StringFormat format = LongFormat) const;
997 KDE_DEPRECATED QString yearInEraString(const QDate &date, StringFormat format = ShortFormat) const;
1012 KDE_DEPRECATED QString dayOfYearString(const QDate &pDate, StringFormat format = LongFormat) const;
1041 KDE_DEPRECATED QString weekNumberString(const QDate &pDate, StringFormat format = LongFormat) const;
1056 KDE_DEPRECATED QString monthsInYearString(const QDate &pDate, StringFormat format = LongFormat) const;
1071 KDE_DEPRECATED QString weeksInYearString(const QDate &pDate, StringFormat format = LongFormat) const;
1086 KDE_DEPRECATED QString daysInYearString(const QDate &pDate, StringFormat format = LongFormat) const;
1101 KDE_DEPRECATED QString daysInMonthString(const QDate &pDate, StringFormat format = LongFormat) const;
1169 virtual QString formatDate(const QDate &fromDate, KLocale::DateFormat toFormat = KLocale::LongDate) const;
1385 virtual QDate readDate(const QString &dateString, const QString &dateFormat, bool *ok = 0) const;
Long name possessive format, e.g.
Definition: kcalendarsystem.h:59
Definition: kcalendarsystemthai_p.h:38
The system locale default for the componant.
Definition: klocale.h:909
StringFormat
Format for returned year number / month number / day number as string.
Definition: kcalendarsystem.h:47
Definition: kdatetimeparser_p.h:49
KCalendarSystem abstract base class, provides support for local Calendar Systems in KDE...
Definition: kcalendarsystem.h:40
Definition: kcalendarera_p.h:43
A class representing a date localized using the local calendar system, language and formats...
Definition: klocalizeddate.h:138
Definition: kaboutdata.h:33
Short name possessive format, e.g.
Definition: kcalendarsystem.h:58
KLocale provides support for country specific stuff like the national language.
Definition: klocale.h:69
QDate currentDate()
Definition: kcalendarsystemqdate_p.h:41
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.