Calendar.FieldName(CalendarField) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.