Calendar.Hour Field

Definition

Caution

This constant will be removed in the future version. Use Android.Icu.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", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Icu.Util.CalendarField enum directly instead of this field.", true)]
public const Android.Icu.Util.CalendarField Hour = 10;
[<Android.Runtime.Register("HOUR", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Icu.Util.CalendarField enum directly instead of this field.", true)>]
val mutable Hour : Android.Icu.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. E.g., at 10:04:15.250 PM the HOUR is 10.

Java documentation for android.icu.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