Date.Hours Property

Definition

Caution

deprecated

Returns the hour represented by this Date object. -or- Sets the hour of this Date object to the specified value.

[System.Obsolete("deprecated")]
public virtual int Hours { [Android.Runtime.Register("getHours", "()I", "GetGetHoursHandler")] get; [Android.Runtime.Register("setHours", "(I)V", "GetSetHours_IHandler")] set; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getHours", "()I", "GetGetHoursHandler")>]
[<set: Android.Runtime.Register("setHours", "(I)V", "GetSetHours_IHandler")>]
member this.Hours : int with get, set

Property Value

Int32

the hour represented by this date.

Attributes

Remarks

Property getter documentation:

Java documentation for java.util.Date.getHours().

Property setter documentation:

Java documentation for java.util.Date.setHours(int).

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