LocalTime.Until(ITemporal, ITemporalUnit) Method

Definition

Calculates the amount of time until another time in terms of the specified unit.

[Android.Runtime.Register("until", "(Ljava/time/temporal/Temporal;Ljava/time/temporal/TemporalUnit;)J", "", ApiSince=26)]
public long Until(Java.Time.Temporal.ITemporal? endExclusive, Java.Time.Temporal.ITemporalUnit? unit);
[<Android.Runtime.Register("until", "(Ljava/time/temporal/Temporal;Ljava/time/temporal/TemporalUnit;)J", "", ApiSince=26)>]
abstract member Until : Java.Time.Temporal.ITemporal * Java.Time.Temporal.ITemporalUnit -> int64
override this.Until : Java.Time.Temporal.ITemporal * Java.Time.Temporal.ITemporalUnit -> int64

Parameters

endExclusive
ITemporal

the end time, exclusive, which is converted to a LocalTime, not null

unit
ITemporalUnit

the unit to measure the amount in, not null

Returns

the amount of time between this time and the end time

Implements

Attributes

Remarks

To be added.

Java reference for java.time.LocalTime.until.

Applies to