Freigeben über


LocalTime.Hour Property

Definition

Gets the hour-of-day field.

public int Hour { [Android.Runtime.Register("getHour", "()I", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getHour", "()I", "", ApiSince=26)>]
member this.Hour : int

Property Value

the hour-of-day, from 0 to 23

Attributes

Remarks

Gets the hour-of-day field.

Java documentation for java.time.LocalTime.getHour().

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