kcalendarsystem.cpp
virtual int year(const TQDate &date) const =0
Gets specific calendar type year for a given gregorian date.
KCalendarSystem(const KLocale *locale=0)
Constructor of abstract calendar class.
Definition: kcalendarsystem.cpp:36
virtual TQString monthString(const TQDate &pDate, bool bShort) const
Converts a date into a month literal.
Definition: kcalendarsystem.cpp:66
virtual TQString dayString(const TQDate &pDate, bool bShort) const
Converts a date into a day literal.
Definition: kcalendarsystem.cpp:55
const KLocale * locale() const
Gets the locale the calendar uses for translations.
Definition: kcalendarsystem.cpp:47
virtual int month(const TQDate &date) const =0
Gets specific calendar type month for a given gregorian date.
virtual TQString weekDayName(int weekDay, bool shortName=false) const =0
Gets specific calendar type week day name If an invalid week day is specified, TQString::null is retu...
Definition: kcalendarsystem.cpp:119
virtual int monthStringToInteger(const TQString &sNum, int &iLength) const
Converts a month literal of a part of a string into a integer starting at the beginning of the string...
Definition: kcalendarsystem.cpp:109
virtual int day(const TQDate &date) const =0
Gets specific calendar type day number of month for a given date.
KLocale provides support for country specific stuff like the national language.
Definition: klocale.h:124
virtual int yearStringToInteger(const TQString &sNum, int &iLength) const
Converts a year literal of a part of a string into a integer starting at the beginning of the string...
Definition: kcalendarsystem.cpp:114
virtual int dayStringToInteger(const TQString &sNum, int &iLength) const
Converts a day literal of a part of a string into a integer starting at the beginning of the string...
Definition: kcalendarsystem.cpp:104
virtual TQString yearString(const TQDate &pDate, bool bShort) const
Converts a date into a year literal.
Definition: kcalendarsystem.cpp:77
TQString translate(const char *index) const
Translates the string into the corresponding string in the national language, if available.
Definition: klocale.cpp:769