ChronoUnit.Duration Property

Definition

Gets the estimated duration of this unit in the ISO calendar system.

public Java.Time.Duration? Duration { [Android.Runtime.Register("getDuration", "()Ljava/time/Duration;", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getDuration", "()Ljava/time/Duration;", "", ApiSince=26)>]
member this.Duration : Java.Time.Duration

Property Value

the estimated duration of this unit, not null

Implements

Attributes

Remarks

Gets the estimated duration of this unit in the ISO calendar system.

All of the units in this class have an estimated duration. Days vary due to daylight saving time, while months have different lengths.

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

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