語言

Calendar.Hour 欄位

定義

警告

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

欄位編號 get 及 set 指示上午或下午的時段。

[Android.Runtime.Register("HOUR")]
[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 Hour = 10;
[<Android.Runtime.Register("HOUR")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Util.CalendarField enum directly instead of this field.", true)>]
val mutable Hour : Java.Util.CalendarField

欄位值

Value = 10
屬性

備註

欄位編號 get 及 set 指示上午或下午的時段。 HOUR 用於12小時制(0 - 11)。 中午和午夜以0表示,而非12。 例如,在晚上10:04:15.250,是 HOUR 10。

的 java.util.Calendar.HOURJava 檔。

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

適用於

另請參閱