Period.From(ITemporalAmount) 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 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.