org.kde.koala
public class KCalendarSystem extends Object implements QtSupport
UNKNOWN: CalendarSystem abstract class, default derived kde gregorian class and factory class.
Constructor Summary | |
---|---|
protected | KCalendarSystem(Class dummy) |
Method Summary | |
---|---|
Calendar | addDays(Calendar date, int ndays)
Returns a Calendar object containing a date ndays later. |
Calendar | addMonths(Calendar date, int nmonths)
Returns a Calendar object containing a date nmonths later. |
Calendar | addYears(Calendar date, int nyears)
Returns a Calendar object containing a date nyears later. |
String | calendarName()
Gets the string representing the calendar |
int | day(Calendar date)
Gets specific calendar type day number of month for a given date |
int | dayOfWeek(Calendar date)
Gets specific calendar type number of day of week number for a given
date |
int | dayOfYear(Calendar date)
Gets specific calendar type day number of year for a given date |
int | daysInMonth(Calendar date)
Gets specific calendar type number of days in month for a given date |
int | daysInYear(Calendar date)
Gets the number of days in date whose years specified. |
String | dayString(Calendar pDate, boolean bShort)
Converts a date into a day literal |
int | dayStringToInteger(String sNum, int[] iLength)
Converts a day literal of a part of a string into a integer starting at the beginning of the string |
boolean | isLunar()
Gets if the calendar is lunar based |
boolean | isLunisolar()
Gets if the calendar is lunisolar based |
boolean | isSolar()
Gets if the calendar is solar based |
int | maxValidYear()
Gets the maximum year value supported by specific calendar type
algorithms (Calendar, 8000) |
int | minValidYear()
Gets the first year value supported by specific calendar type
algorithms. |
int | month(Calendar date)
Gets specific calendar type month for a given gregorian date |
String | monthName(int month, int year, boolean shortName)
Gets specific calendar type month name for a given month number
If an invalid month is specified, null is returned. |
String | monthName(int month, int year) |
String | monthName(Calendar date, boolean shortName)
Gets specific calendar type month name for a given gregorian date |
String | monthName(Calendar date) |
String | monthNamePossessive(int month, int year, boolean shortName)
Returns a string containing the possessive form of the month name.
|
String | monthNamePossessive(int month, int year) |
String | monthNamePossessive(Calendar date, boolean shortName)
Returns a string containing the possessive form of the month name.
|
String | monthNamePossessive(Calendar date) |
int | monthsInYear(Calendar date)
Gets specific calendar type number of month for a given year |
String | monthString(Calendar pDate, boolean bShort)
Converts a date into a month literal |
int | monthStringToInteger(String sNum, int[] iLength)
Converts a month literal of a part of a string into a integer starting at the beginning of the string |
boolean | setYMD(Calendar date, int y, int m, int d)
Changes the date's year, month and day. |
String | weekDayName(int weekDay, boolean shortName)
Gets specific calendar type week day name
If an invalid week day is specified, null is returned. |
String | weekDayName(int weekDay) |
String | weekDayName(Calendar date, boolean shortName)
Gets specific calendar type week day name |
String | weekDayName(Calendar date) |
int | weekDayOfPray()
Gets the day of the week traditionaly associated with pray |
int | weekNumber(Calendar date, int[] yearNum)
Gets specific calendar type week number for a given date |
int | weekNumber(Calendar date) |
int | weeksInYear(int year)
Gets the number of weeks in a specified year |
int | year(Calendar date)
Gets specific calendar type year for a given gregorian date |
String | yearString(Calendar pDate, boolean bShort)
Converts a date into a year literal |
int | yearStringToInteger(String sNum, int[] iLength)
Converts a year literal of a part of a string into a integer starting at the beginning of the string |
Parameters: date The old date ndays The number of days to add
Returns: The new date
UNKNOWN: Returns a QDate object containing a date ndays later.
Parameters: date The old date nmonths The number of months to add
Returns: The new date
UNKNOWN: Returns a QDate object containing a date nmonths later.
Parameters: date The old date nyears The number of years to add
Returns: The new date
UNKNOWN: Returns a QDate object containing a date nyears later.
UNKNOWN: Gets the string representing the calendar
Parameters: date gregorian date equivalent to the specific one
Returns: day of the month
UNKNOWN: Gets specific calendar type day number of month for a given date
Parameters: date gregorian date
Returns: day of week
UNKNOWN: Gets specific calendar type number of day of week number for a given date
Parameters: date gregorian date equivalent to the specific one
Returns: day number
UNKNOWN: Gets specific calendar type day number of year for a given date
Parameters: date gregorian date
Returns: number of days for month in date
UNKNOWN: Gets specific calendar type number of days in month for a given date
Parameters: date Gregorian date equivalent to the specific one
Returns: The number of days in year
UNKNOWN: Gets the number of days in date whose years specified.
Parameters: pDate The date to convert bShort If the short version of should be used
Returns: The day literal of the date
UNKNOWN: Converts a date into a day literal
Parameters: sNum The string to parse iLength The number of chars used, and 0 if no valid symbols was found in the string
Returns: An integer corresponding to the day
UNKNOWN: Converts a day literal of a part of a string into a integer starting at the beginning of the string
Returns: if the calendar is lunar based
UNKNOWN: Gets if the calendar is lunar based
Returns: if the calendar is lunisolar based
UNKNOWN: Gets if the calendar is lunisolar based
Returns: if the calendar is solar based
UNKNOWN: Gets if the calendar is solar based
Returns: maximum year supported
UNKNOWN: Gets the maximum year value supported by specific calendar type algorithms (QDate, 8000)
Returns: first year supported
UNKNOWN: Gets the first year value supported by specific calendar type algorithms.
Parameters: date gregorian date
Returns: month number
UNKNOWN: Gets specific calendar type month for a given gregorian date
Parameters: month The month number year The year the month belongs to shortName Specifies if the short month name should be used
Returns: The name of the month
UNKNOWN: Gets specific calendar type month name for a given month number If an invalid month is specified, String.null is returned.
Parameters: date Gregorian date shortName Specifies if the short month name should be used
Returns: The name of the month
UNKNOWN: Gets specific calendar type month name for a given gregorian date
Parameters: month The month number year The year the month belongs to shortName Specifies if the short month name should be used
Returns: The possessive form of the name of the month
UNKNOWN: Returns a string containing the possessive form of the month name.
Parameters: date Gregorian date shortName Specifies if the short month name should be used
Returns: The possessive form of the name of the month
UNKNOWN: Returns a string containing the possessive form of the month name.
Parameters: date The date whose year to use
Returns: The number of months in that year
UNKNOWN: Gets specific calendar type number of month for a given year
Parameters: pDate The date to convert bShort If the short version of should be used
Returns: The month literal of the date
UNKNOWN: Converts a date into a month literal
Parameters: sNum The string to parse iLength The number of chars used, and 0 if no valid symbols was found in the string
Returns: An integer corresponding to the month
UNKNOWN: Converts a month literal of a part of a string into a integer starting at the beginning of the string
Parameters: date Date to change y Year m Month number d Day of month
Returns: true if the date is valid; otherwise returns false.
UNKNOWN: Changes the date's year, month and day.
Parameters: weekDay number of day in week (1 . Monday) shortName short or complete day name
Returns: day name
UNKNOWN: Gets specific calendar type week day name If an invalid week day is specified, String.null is returned.
Parameters: date the date shortName short or complete day name
Returns: day name
UNKNOWN: Gets specific calendar type week day name
Returns: day number
UNKNOWN: Gets the day of the week traditionaly associated with pray
Parameters: date gregorian date yearNum The year the date belongs to
Returns: week number
UNKNOWN: Gets specific calendar type week number for a given date
Parameters: year the year
Returns: number of weeks in year
UNKNOWN: Gets the number of weeks in a specified year
Parameters: date gregorian date
Returns: year
UNKNOWN: Gets specific calendar type year for a given gregorian date
Parameters: pDate The date to convert bShort If the short version of should be used
Returns: The year literal of the date
UNKNOWN: Converts a date into a year literal
Parameters: sNum The string to parse iLength The number of chars used, and 0 if no valid symbols was found in the string
Returns: An integer corresponding to the year
UNKNOWN: Converts a year literal of a part of a string into a integer starting at the beginning of the string