Share via


DateTimePatternGenerator.GetAppendItemName(DateTimePatternField) Method

Definition

Getter corresponding to setAppendItemName.

[Android.Runtime.Register("getAppendItemName", "(I)Ljava/lang/String;", "GetGetAppendItemName_IHandler", ApiSince=24)]
public virtual string? GetAppendItemName (Android.Icu.Text.DateTimePatternField field);
[<Android.Runtime.Register("getAppendItemName", "(I)Ljava/lang/String;", "GetGetAppendItemName_IHandler", ApiSince=24)>]
abstract member GetAppendItemName : Android.Icu.Text.DateTimePatternField -> string
override this.GetAppendItemName : Android.Icu.Text.DateTimePatternField -> string

Parameters

field
DateTimePatternField

The index to get the append item name.

Returns

name for field

Attributes

Remarks

Getter corresponding to setAppendItemName. Values below 0 or at or above TYPE_LIMIT are illegal arguments. Note: The more general method for getting date/time field display names is getFieldDisplayName.

Java documentation for android.icu.text.DateTimePatternGenerator.getAppendItemName(int).

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