Language

ITemporalUnit.IsTimeBased Property

Definition

Checks if this unit represents a component of a time.

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

Property Value

true if this unit is a component of a time

Attributes

Remarks

Checks if this unit represents a component of a time. A unit is time-based if it can be used to imply meaning from a time. It must have a duration that divides into the length of a standard day without remainder. 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.isTimeBased.

Applies to