Calendar.Type Property

Definition

<strong>[icu]</strong> Returns the calendar type name string for this Calendar object.

public virtual string? Type { [Android.Runtime.Register("getType", "()Ljava/lang/String;", "GetGetTypeHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getType", "()Ljava/lang/String;", "GetGetTypeHandler", ApiSince=24)>]
member this.Type : string

Property Value

legacy calendar type name string

Attributes

Remarks

<strong>[icu]</strong> Returns the calendar type name string for this Calendar object. The returned string is the legacy ICU calendar attribute value, for example, "gregorian" or "japanese".

See type="old type name" for the calendar attribute of locale IDs at http://www.unicode.org/reports/tr35/#Key_Type_Definitions

Java documentation for android.icu.util.Calendar.getType().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to