Sdílet prostřednictvím


Duration.TruncatedTo(ITemporalUnit) Method

Definition

[Android.Runtime.Register("truncatedTo", "(Ljava/time/temporal/TemporalUnit;)Ljava/time/Duration;", "", ApiSince=31)]
public Java.Time.Duration? TruncatedTo (Java.Time.Temporal.ITemporalUnit? unit);
[<Android.Runtime.Register("truncatedTo", "(Ljava/time/temporal/TemporalUnit;)Ljava/time/Duration;", "", ApiSince=31)>]
member this.TruncatedTo : Java.Time.Temporal.ITemporalUnit -> Java.Time.Duration

Parameters

Returns

Attributes

Applies to