Compartilhar via


ValueRange.Of Method

Definition

Overloads

Of(Int64, Int64)

Obtains a fixed value range.

Of(Int64, Int64, Int64)

Obtains a variable value range.

Of(Int64, Int64, Int64, Int64)

Obtains a fully variable value range.

Of(Int64, Int64)

Obtains a fixed value range.

[Android.Runtime.Register("of", "(JJ)Ljava/time/temporal/ValueRange;", "", ApiSince=26)]
public static Java.Time.Temporal.ValueRange? Of (long min, long max);
[<Android.Runtime.Register("of", "(JJ)Ljava/time/temporal/ValueRange;", "", ApiSince=26)>]
static member Of : int64 * int64 -> Java.Time.Temporal.ValueRange

Parameters

min
Int64

the minimum value

max
Int64

the maximum value

Returns

the ValueRange for min, max, not null

Attributes

Remarks

Java documentation for java.time.temporal.ValueRange.of(long, long).

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

Of(Int64, Int64, Int64)

Obtains a variable value range.

[Android.Runtime.Register("of", "(JJJ)Ljava/time/temporal/ValueRange;", "", ApiSince=26)]
public static Java.Time.Temporal.ValueRange? Of (long min, long maxSmallest, long maxLargest);
[<Android.Runtime.Register("of", "(JJJ)Ljava/time/temporal/ValueRange;", "", ApiSince=26)>]
static member Of : int64 * int64 * int64 -> Java.Time.Temporal.ValueRange

Parameters

min
Int64

the minimum value

maxSmallest
Int64

the smallest maximum value

maxLargest
Int64

the largest maximum value

Returns

the ValueRange for min, smallest max, largest max, not null

Attributes

Remarks

Java documentation for java.time.temporal.ValueRange.of(long, long, long).

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

Of(Int64, Int64, Int64, Int64)

Obtains a fully variable value range.

[Android.Runtime.Register("of", "(JJJJ)Ljava/time/temporal/ValueRange;", "", ApiSince=26)]
public static Java.Time.Temporal.ValueRange? Of (long minSmallest, long minLargest, long maxSmallest, long maxLargest);
[<Android.Runtime.Register("of", "(JJJJ)Ljava/time/temporal/ValueRange;", "", ApiSince=26)>]
static member Of : int64 * int64 * int64 * int64 -> Java.Time.Temporal.ValueRange

Parameters

minSmallest
Int64

the smallest minimum value

minLargest
Int64

the largest minimum value

maxSmallest
Int64

the smallest maximum value

maxLargest
Int64

the largest maximum value

Returns

the ValueRange for smallest min, largest min, smallest max, largest max, not null

Attributes

Remarks

Java documentation for java.time.temporal.ValueRange.of(long, long, long, long).

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