Period.IsZero 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 all three units of this period are zero.
public bool IsZero { [Android.Runtime.Register("isZero", "()Z", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("isZero", "()Z", "", ApiSince=26)>]
member this.IsZero : bool
Property Value
true if this period is zero-length
Implements
- Attributes
Remarks
Checks if all three units of this period are zero.
A zero period has the value zero for the years, months and days units.
Java documentation for java.time.Period.isZero()
.
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.