Compartir a través de


TimePicker.CurrentHour Property

Definition

This member is deprecated. -or- Sets the currently selected hour using 24-hour time.

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; }
[<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

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

Attributes

Remarks

Property getter documentation:

This member is deprecated. Use #getHour()

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

Property setter documentation:

Sets the currently selected hour using 24-hour time.

This member is deprecated. Use #setHour(int)

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