语言

DateFormat.YearNameField 字段

定义

注意

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

[icu] “U”字段对齐的 FieldPosition 选择器,对应于 Calendar#YEAR 该字段。

[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

字段值

Value = 30
特性

注解

[icu] “U”字段对齐的 FieldPosition 选择器,对应于 Calendar#YEAR 该字段。 如果可用,则显示循环年份名称。

Java文档android.icu.text.DateFormat.YEAR_NAME_FIELD。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于