Share via


DateFormat.YearNameField Field

Definition

Caution

This constant will be removed in the future version. Use Android.Icu.Text.DateFormatField enum directly instead of this field.

<strong>[icu]</strong> FieldPosition selector for 'U' field alignment, corresponding to the Calendar#YEAR field.

[Android.Runtime.Register("YEAR_NAME_FIELD", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Icu.Text.DateFormatField enum directly instead of this field.", true)]
public const Android.Icu.Text.DateFormatField YearNameField = 30;
[<Android.Runtime.Register("YEAR_NAME_FIELD", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Icu.Text.DateFormatField enum directly instead of this field.", true)>]
val mutable YearNameField : Android.Icu.Text.DateFormatField

Field Value

Value = 30
Attributes

Remarks

<strong>[icu]</strong> FieldPosition selector for 'U' field alignment, corresponding to the Calendar#YEAR field. This displays the cyclic year name, if available.

Java documentation for android.icu.text.DateFormat.YEAR_NAME_FIELD.

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