Dil

ITemporalUnit.IsDurationEstimated Property

Definition

Checks if the duration of the unit is an estimate.

public bool IsDurationEstimated { [Android.Runtime.Register("isDurationEstimated", "()Z", "GetIsDurationEstimatedHandler:Java.Time.Temporal.ITemporalUnitInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)] get; }
[<get: Android.Runtime.Register("isDurationEstimated", "()Z", "GetIsDurationEstimatedHandler:Java.Time.Temporal.ITemporalUnitInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
member this.IsDurationEstimated : bool

Property Value

true if the duration is estimated, false if accurate

Attributes

Remarks

Checks if the duration of the unit is an estimate. All units have a duration, however the duration is not always accurate. For example, days have an estimated duration due to the possibility of daylight saving time changes. This method returns true if the duration is an estimate and false if it is accurate. Note that accurate/estimated ignores leap seconds.

Java reference for java.time.temporal.TemporalUnit.isDurationEstimated.

Applies to