[]
        
(Showing Draft Content)

C1.Globalization.CalendarEx

CalendarEx Class

This class implement a calendar extend in order to we can configure era information.

Inheritance
CalendarEx
Implements
Namespace: C1.Globalization
Assembly: C1.Win.C1Input.4.8.dll
Syntax
public abstract class CalendarEx : Calendar, ICloneable

Constructors

Name Description
CalendarEx()

Initializes a new instance of the CalendarEx class.

Properties

Name Description
Eras

Gets the list of eras in the CalendarEx.

ErasInfo

Gets the eras information of this calendar.

MaxSupportedDateTime

Gets the latest date and time supported by the current JapaneseCalendarEx object.

MinSupportedDateTime

Gets the earliest date and time supported by the current JapaneseCalendarEx object.

Methods

Name Description
ClearEras()

Removes all eras from the era list.

GetMaxDay(DateTime)

Gets the max day.

GetMaxEra()

Gets the max era.

GetMaxEraYear(DateTime)

Gets the max era year.

GetMaxEraYear(int)

Gets the max era year.

GetMaxMonth(DateTime)

Gets the max month.

GetMaxYear(DateTime)

Gets the max year.

GetMinDay(DateTime)

Gets the min day.

GetMinEra()

Gets the min era.

GetMinEraYear(DateTime)

Gets the min era year.

GetMinEraYear(int)

Gets the min era year.

GetMinMonth(DateTime)

Gets the min month.

GetMinYear(DateTime)

Gets the min year.

ToFourDigitYear(int, int)

Converts the specified two-digit year to a four-digit year by using the TwoDigitYearMax property to determine the appropriate century.