Condividi tramite


ValueRange.IsFixed Property

Definition

Is the value range fixed and fully known.

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

Property Value

true if the set of values is fixed

Attributes

Remarks

Is the value range fixed and fully known.

For example, the ISO day-of-month runs from 1 to between 28 and 31. Since there is uncertainty about the maximum value, the range is not fixed. However, for the month of January, the range is always 1 to 31, thus it is fixed.

Java documentation for java.time.temporal.ValueRange.isFixed().

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