Свойство | Тип | Описание | |
---|---|---|---|
interceptor |
Метод | Описание | |
---|---|---|
CalendarLabel ( string calendarType ) : string | Returns a typographically correct and translated label to display for the calendar system type. Use with calendarSystems() to neatly format labels to display on combo widget of available calendar systems. name="calendarType" the specific calendar type to return the label for | |
CalendarSystems ( ) : List |
Gets a list of names of supported calendar systems. | |
Create ( ) : |
||
Create ( string calType ) : |
||
Create ( string calType, |
Creates specific calendar type name="calType" string identification of the specific calendar type to be constructed name="locale" locale to use for translations. The global locale is used if null. | |
KCalendarSystem ( |
Constructor of abstract calendar class. This will be called by derived classes. name="locale" locale to use for translations. The global locale is used if null. |
Метод | Описание | |
---|---|---|
CreateProxy ( ) : void | ||
KCalendarSystem ( |
||
Locale ( ) : |
Returns the locale used for translations and formats for this calendar system instance. This allows a calendar system instance to be independent of the global translations and formats if required. All implementations must refer to this locale. Only for internal calendar system use; if public access is required then provide public methods only for those methods actually required. Any app that creates an instance with its own locale overriding global will have the original handle to the locale and can manipulate it that way if required, e.g. to change default date format. Only expose those methods that library widgets require access to internally. |
Метод | Описание | |
---|---|---|
AddDays ( QDate date, int ndays ) : QDate | ||
AddMonths ( QDate date, int nmonths ) : QDate | ||
AddYears ( QDate date, int nyears ) : QDate | ||
CalendarType ( ) : string | ||
DateToJulianDay ( int year, int month, int day, int &jd ) : bool | ||
Day ( QDate date ) : int | ||
DayOfWeek ( QDate date ) : int | ||
DayOfYear ( QDate date ) : int | ||
DayString ( QDate pDate ) : string | ||
DayString ( QDate pDate, |
||
DayStringToInteger ( string sNum, int &iLength ) : int | ||
DaysInMonth ( QDate date ) : int | ||
DaysInWeek ( QDate date ) : int | ||
DaysInYear ( QDate date ) : int | ||
EarliestValidDate ( ) : QDate | ||
Epoch ( ) : QDate | ||
FormatDate ( QDate date ) : string | ||
FormatDate ( QDate date, |
||
IsLeapYear ( QDate date ) : bool | ||
IsLeapYear ( int year ) : bool | ||
IsLunar ( ) : bool | ||
IsLunisolar ( ) : bool | ||
IsProleptic ( ) : bool | ||
IsSolar ( ) : bool | ||
IsValid ( QDate date ) : bool | ||
IsValid ( int year, int month, int day ) : bool | ||
JulianDayToDate ( int jd, int &year, int &month, int &day ) : bool | ||
KCalendarSystem ( ) : System | ||
LatestValidDate ( ) : QDate | ||
Month ( QDate date ) : int | ||
MonthName ( QDate date ) : string | ||
MonthName ( QDate date, |
||
MonthName ( int month, int year, |
||
MonthString ( QDate pDate ) : string | ||
MonthString ( QDate pDate, |
||
MonthStringToInteger ( string sNum, int &iLength ) : int | ||
MonthsInYear ( QDate date ) : int | ||
ReadDate ( string str ) : QDate | ||
ReadDate ( string str, |
||
ReadDate ( string str, |
||
ReadDate ( string str, bool &ok ) : QDate | ||
ReadDate ( string intstr, string format ) : QDate | ||
ReadDate ( string intstr, string format, bool &ok ) : QDate | ||
SetDate ( QDate date, int year, int month, int day ) : bool | ||
WeekDayName ( QDate date ) : string | ||
WeekDayName ( QDate date, |
||
WeekDayName ( int weekDay, |
||
WeekDayOfPray ( ) : int | ||
WeekNumber ( QDate date ) : int | ||
WeekNumber ( QDate date, int &yearNum ) : int | ||
WeekStartDay ( ) : int | ||
WeeksInYear ( QDate date ) : int | ||
WeeksInYear ( int year ) : int | ||
Year ( QDate date ) : int | ||
YearString ( QDate date ) : string | ||
YearString ( QDate date, |
||
YearStringToInteger ( string sNum, int &iLength ) : int |
public static CalendarLabel ( string calendarType ) : string | ||
calendarType | string | |
Результат | string |
public static CalendarSystems ( ) : List |
||
Результат | List |
public static Create ( ) : |
||
Результат |
public static Create ( string calType ) : |
||
calType | string | |
Результат |
public static Create ( string calType, |
||
calType | string | |
locale | ||
Результат |
public KCalendarSystem ( |
||
locale | ||
Результат | System |
protected KCalendarSystem ( |
||
dummy | ||
Результат | System |