Period.From(ITemporalAmount) Method

Definition

Obtains an instance of Period from a temporal amount.

[Android.Runtime.Register("from", "(Ljava/time/temporal/TemporalAmount;)Ljava/time/Period;", "", ApiSince=26)]
public static Java.Time.Period? From(Java.Time.Temporal.ITemporalAmount? amount);
[<Android.Runtime.Register("from", "(Ljava/time/temporal/TemporalAmount;)Ljava/time/Period;", "", ApiSince=26)>]
static member From : Java.Time.Temporal.ITemporalAmount -> Java.Time.Period

Parameters

amount
ITemporalAmount

the temporal amount to convert, not null

Returns

the equivalent period, not null

Attributes

Remarks

To be added.

Java reference for java.time.Period.from.

Applies to