Language

Calendar.FieldName(CalendarField) Method

Definition

Returns a string name for a field, for debugging and exceptions.

[Android.Runtime.Register("fieldName", "(I)Ljava/lang/String;", "GetFieldName_IHandler", ApiSince=24)]
protected virtual string? FieldName(Android.Icu.Util.CalendarField field);
[<Android.Runtime.Register("fieldName", "(I)Ljava/lang/String;", "GetFieldName_IHandler", ApiSince=24)>]
abstract member FieldName : Android.Icu.Util.CalendarField -> string
override this.FieldName : Android.Icu.Util.CalendarField -> string

Parameters

field
CalendarField

The calendar field to identify.

Returns

The diagnostic field name, or the word Field followed by the numeric field value if no name is defined.

Attributes

Remarks

Returns a string name for a field, for debugging and exceptions.

Java documentation for android.icu.util.Calendar.fieldName(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