Sdílet prostřednictvím


Duration.Days Property

Definition

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

public virtual int Days { [Android.Runtime.Register("getDays", "()I", "GetGetDaysHandler")] get; }
[<get: Android.Runtime.Register("getDays", "()I", "GetGetDaysHandler")>]
member this.Days : int

Property Value

Days of this Duration.

Attributes

Remarks

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

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

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

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