C# 클래스 Kimono.KCalendarSystem

상속: Object
파일 보기 프로젝트 열기: 0xd34df00d/Qross 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
interceptor Qyoto.SmokeInvocation

공개 메소드들

메소드 설명
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 ( ) : KCalendarSystem
Create ( string calType ) : KCalendarSystem
Create ( string calType, KLocale locale ) : KCalendarSystem 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 ( KLocale locale ) : System 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 ( Type dummy ) : System
Locale ( ) : KLocale 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, KCalendarSystem format ) : string
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, KLocale format ) : string
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, KCalendarSystem format ) : string
MonthName ( int month, int year, KCalendarSystem format ) : string
MonthString ( QDate pDate ) : string
MonthString ( QDate pDate, KCalendarSystem format ) : string
MonthStringToInteger ( string sNum, int &iLength ) : int
MonthsInYear ( QDate date ) : int
ReadDate ( string str ) : QDate
ReadDate ( string str, KLocale flags ) : QDate
ReadDate ( string str, KLocale flags, bool &ok ) : QDate
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, KCalendarSystem format ) : string
WeekDayName ( int weekDay, KCalendarSystem format ) : string
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, KCalendarSystem format ) : string
YearStringToInteger ( string sNum, int &iLength ) : int

메소드 상세

CalendarLabel() 공개 정적인 메소드

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
public static CalendarLabel ( string calendarType ) : string
calendarType string
리턴 string

CalendarSystems() 공개 정적인 메소드

Gets a list of names of supported calendar systems.
public static CalendarSystems ( ) : List
리턴 List

Create() 공개 정적인 메소드

public static Create ( ) : KCalendarSystem
리턴 KCalendarSystem

Create() 공개 정적인 메소드

public static Create ( string calType ) : KCalendarSystem
calType string
리턴 KCalendarSystem

Create() 공개 정적인 메소드

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.
public static Create ( string calType, KLocale locale ) : KCalendarSystem
calType string
locale KLocale
리턴 KCalendarSystem

CreateProxy() 보호된 메소드

protected CreateProxy ( ) : void
리턴 void

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.
public KCalendarSystem ( KLocale locale ) : System
locale KLocale
리턴 System

KCalendarSystem() 보호된 메소드

protected KCalendarSystem ( Type dummy ) : System
dummy System.Type
리턴 System

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.
protected Locale ( ) : KLocale
리턴 KLocale

프로퍼티 상세

interceptor 보호되어 있는 프로퍼티

protected SmokeInvocation,Qyoto interceptor
리턴 Qyoto.SmokeInvocation