Calendar.Year 字段

定义

注意

This constant will be removed in the future version. Use Java.Util.CalendarField enum directly instead of this field.

用于 getset 指示年份的字段编号。

[Android.Runtime.Register("YEAR")]
[System.Obsolete("This constant will be removed in the future version. Use Java.Util.CalendarField enum directly instead of this field.", true)]
public const Java.Util.CalendarField Year = 1;
[<Android.Runtime.Register("YEAR")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Util.CalendarField enum directly instead of this field.", true)>]
val mutable Year : Java.Util.CalendarField

字段值

Value = 1
属性

注解

用于 getset 指示年份的字段编号。 这是特定于日历的值;请参阅子类文档。

Java文档java.util.Calendar.YEAR

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

适用于