Language

IChronology.CalendarType Property

Definition

Gets the calendar type of the calendar system.

public string? CalendarType { [Android.Runtime.Register("getCalendarType", "()Ljava/lang/String;", "GetGetCalendarTypeHandler:Java.Time.Chrono.IChronologyInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getCalendarType", "()Ljava/lang/String;", "GetGetCalendarTypeHandler:Java.Time.Chrono.IChronologyInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
member this.CalendarType : string

Property Value

the calendar system type, null if the calendar is not defined by CLDR/LDML

Attributes

Remarks

Gets the calendar type of the calendar system. The calendar type is an identifier defined by the CLDR and Unicode Locale Data Markup Language (LDML) specifications to uniquely identify a calendar. The getCalendarType is the concatenation of the CLDR calendar type and the variant, if applicable, is appended separated by "-". The calendar type is used to lookup the Chronology using of(String).

Java reference for java.time.chrono.Chronology.getCalendarType.

Applies to