TimePicker.CurrentHour Property

Definition

Caution

deprecated

Sets the currently selected hour using 24-hour time.

[System.Obsolete("deprecated")]
public virtual Java.Lang.Integer CurrentHour { [Android.Runtime.Register("getCurrentHour", "()Ljava/lang/Integer;", "GetGetCurrentHourHandler")] get; [Android.Runtime.Register("setCurrentHour", "(Ljava/lang/Integer;)V", "GetSetCurrentHour_Ljava_lang_Integer_Handler")] set; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getCurrentHour", "()Ljava/lang/Integer;", "GetGetCurrentHourHandler")>]
[<set: Android.Runtime.Register("setCurrentHour", "(Ljava/lang/Integer;)V", "GetSetCurrentHour_Ljava_lang_Integer_Handler")>]
member this.CurrentHour : Java.Lang.Integer with get, set

Property Value

Integer

the currently selected hour, in the range (0-23)

Attributes

Remarks

Property getter documentation:

Java documentation for android.widget.TimePicker.getCurrentHour().

Property setter documentation:

Java documentation for android.widget.TimePicker.setCurrentHour(java.lang.Integer).

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