語言

Calendar.Year 欄位

定義

警告

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

欄位編號 get 及 set 年份。

[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
屬性

備註

欄位編號 get 及 set 年份。 這是日曆特定的數值;請參閱子類別文件。

Java 文件 java.util.Calendar.YEAR。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於