Share via


ChronoUnit.IsDateBased Property

Definition

Checks if this unit is a date unit.

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

Property Value

true if a date unit, false if a time unit

Implements

Attributes

Remarks

Checks if this unit is a date unit.

All units from days to eras inclusive are date-based. Time-based units and FOREVER return false.

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

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