Duration.Months Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Obtains the value of the MONTHS field as an integer value, or 0 if not present.
public virtual int Months { [Android.Runtime.Register("getMonths", "()I", "GetGetMonthsHandler")] get; }
[<get: Android.Runtime.Register("getMonths", "()I", "GetGetMonthsHandler")>]
member this.Months : int
Property Value
Months of this Duration
.
- Attributes
Remarks
Obtains the value of the MONTHS field as an integer value, or 0 if not present.
This method works just like #getYears()
except that this method works on the MONTHS field.
Java documentation for javax.xml.datatype.Duration.getMonths()
.
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.