Condividi tramite


ChronoUnit.IsDurationEstimated Property

Definition

Checks if the duration of the unit is an estimate.

public bool IsDurationEstimated { [Android.Runtime.Register("isDurationEstimated", "()Z", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("isDurationEstimated", "()Z", "", ApiSince=26)>]
member this.IsDurationEstimated : bool

Property Value

true if the duration is estimated, false if accurate

Implements

Attributes

Remarks

Checks if the duration of the unit is an estimate.

All time units in this class are considered to be accurate, while all date units in this class are considered to be estimated.

This definition ignores leap seconds, but considers that Days vary due to daylight saving time and months have different lengths.

Java documentation for java.time.temporal.ChronoUnit.isDurationEstimated().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to