Period.OfDays(Int32) Method

Definition

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.

Applies to