Calendar.Hour Field

Definition

Caution

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

Field number for get and set indicating the hour of the morning or afternoon.

[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

Field Value

Value = 10
Attributes

Remarks

Field number for get and set indicating the hour of the morning or afternoon. HOUR is used for the 12-hour clock (0 - 11). Noon and midnight are represented by 0, not by 12. E.g., at 10:04:15.250 PM the HOUR is 10.

Java documentation for java.util.Calendar.HOUR.

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

See also