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. It consists of the CLDR calendar type and, if applicable, a variant separated by a hyphen. Pass the calendar type to Of(String) to look up the chronology.

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

Applies to