Duration.Hours Property

Definition

Obtains the value of the HOURS field as an integer value, or 0 if not present.

public virtual int Hours { [Android.Runtime.Register("getHours", "()I", "GetGetHoursHandler")] get; }
[<get: Android.Runtime.Register("getHours", "()I", "GetGetHoursHandler")>]
member this.Hours : int

Property Value

Hours of this Duration.

Attributes

Remarks

Obtains the value of the HOURS field as an integer value, or 0 if not present.

This method works just like #getYears() except that this method works on the HOURS field.

Java documentation for javax.xml.datatype.Duration.getHours().

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