kcalendarsystemhebrew.h
CalendarSystem abstract class, default derived kde gregorian class and factory class.
Definition: kcalendarsystem.h:43
virtual int maxValidYear() const =0
Gets the maximum year value supported by specific calendar type algorithms (TQDate,...
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 TQDate addYears(const TQDate &date, int nyears) const =0
Returns a TQDate object containing a date nyears later.
virtual TQString monthNamePossessive(int month, int year, bool shortName=false) const =0
Returns a string containing the possessive form of the month name.
virtual bool isLunisolar() const =0
Gets if the calendar is lunisolar based.
virtual int dayOfYear(const TQDate &date) const =0
Gets specific calendar type day number of year for a given date.
virtual int weekDayOfPray() const =0
Gets the day of the week traditionaly associated with pray.
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 monthsInYear(const TQDate &date) const =0
Gets specific calendar type number of month for a given year.
virtual int dayOfWeek(const TQDate &date) const =0
Gets specific calendar type number of day of week number for a given date.
virtual int daysInMonth(const TQDate &date) const =0
Gets specific calendar type number of days in month for a given date.
virtual int weekNumber(const TQDate &date, int *yearNum=0) const =0
Gets specific calendar type week number for a given date.
virtual int day(const TQDate &date) const =0
Gets specific calendar type day number of month for a given date.
virtual TQString calendarName() const =0
Gets the string representing the calendar.
virtual TQDate addDays(const TQDate &date, int ndays) const =0
Returns a TQDate object containing a date ndays later.
virtual int weeksInYear(int year) const =0
Gets the number of weeks in a specified year.
virtual int month(const TQDate &date) const =0
Gets specific calendar type month for a given gregorian date.
virtual int minValidYear() const =0
Gets the first year value supported by specific calendar type algorithms.
virtual TQString dayString(const TQDate &pDate, bool bShort) const
Converts a date into a day literal.
Definition: kcalendarsystem.cpp:55
virtual int daysInYear(const TQDate &date) const =0
Gets the number of days in date whose years specified.
virtual TQString yearString(const TQDate &pDate, bool bShort) const
Converts a date into a year literal.
Definition: kcalendarsystem.cpp:77
virtual TQString monthName(int month, int year, bool shortName=false) const =0
Gets specific calendar type month name for a given month number If an invalid month is specified,...
virtual bool setYMD(TQDate &date, int y, int m, int d) const =0
Changes the date's year, month and day.
virtual int year(const TQDate &date) const =0
Gets specific calendar type year for a given gregorian date.
virtual TQDate addMonths(const TQDate &date, int nmonths) const =0
Returns a TQDate object containing a date nmonths later.
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
TDELocale provides support for country specific stuff like the national language.
Definition: tdelocale.h:124