Period.OfDays(Int32) Method
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 a Period representing a number of days.
[Android.Runtime.Register("ofDays", "(I)Ljava/time/Period;", "", ApiSince=26)]
public static Java.Time.Period? OfDays(int days);
[<Android.Runtime.Register("ofDays", "(I)Ljava/time/Period;", "", ApiSince=26)>]
static member OfDays : int -> Java.Time.Period
Parameters
- days
- Int32
the number of days, positive or negative
Returns
the period of days, not null
- Attributes
Remarks
Obtains a Period representing a number of days. The resulting period will have the specified days. The years and months units will be zero.
Java reference for java.time.Period.ofDays.