Language

ITemporalUnit.IsDateBased Property

Definition

Checks if this unit represents a component of a date.

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

Property Value

true if this unit is a component of a date

Attributes

Remarks

Checks if this unit represents a component of a date. A date is time-based if it can be used to imply meaning from a date. It must have a duration that is an integral multiple of the length of a standard day. Note that it is valid for both isDateBased() and isTimeBased() to return false, such as when representing a unit like 36 hours.

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

Applies to