Duration.Of(Int64, ITemporalUnit) Method

Definition

[Android.Runtime.Register("of", "(JLjava/time/temporal/TemporalUnit;)Ljava/time/Duration;", "", ApiSince=26)]
public static Java.Time.Duration? Of (long amount, Java.Time.Temporal.ITemporalUnit? unit);
[<Android.Runtime.Register("of", "(JLjava/time/temporal/TemporalUnit;)Ljava/time/Duration;", "", ApiSince=26)>]
static member Of : int64 * Java.Time.Temporal.ITemporalUnit -> Java.Time.Duration

Parameters

amount
Int64

Returns

Attributes

Applies to