OffsetDateTime.Until(ITemporal, ITemporalUnit) 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.
Calculates the amount of time until another date-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 date, exclusive, which is converted to an OffsetDateTime, not null
- unit
- ITemporalUnit
the unit to measure the amount in, not null
Returns
the amount of time between this date-time and the end date-time
Implements
- Attributes
Remarks
To be added.
Java reference for java.time.OffsetDateTime.until.