Udostępnij za pośrednictwem


Calendar.HourOfDay 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 day.

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

Field Value

Value = 11
Attributes

Remarks

Field number for get and set indicating the hour of the day. HOUR_OF_DAY is used for the 24-hour clock. E.g., at 10:04:15.250 PM the HOUR_OF_DAY is 22.

Java documentation for java.util.Calendar.HOUR_OF_DAY.

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