ChronoUnit.IsTimeBased Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks if this unit is a time unit.
public bool IsTimeBased { [Android.Runtime.Register("isTimeBased", "()Z", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("isTimeBased", "()Z", "", ApiSince=26)>]
member this.IsTimeBased : bool
Property Value
true if a time unit, false if a date unit
Implements
- Attributes
Remarks
Checks if this unit is a time unit.
All units from nanos to half-days inclusive are time-based. Date-based units and FOREVER
return false.
Java documentation for java.time.temporal.ChronoUnit.isTimeBased()
.
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.