public static enum InstantRange.RangeType extends Enum<InstantRange.RangeType>
| Enum Constant and Description |
|---|
CLOSED_CLOSED
Both start and end instants are included (>=, <=).
|
COMPOSITION
Composition of multiple ranges.
|
EXACT_MATCH
Exact match of instants.
|
OPEN_CLOSED
Start instant is not included (>) and end instant is included (<=).
|
| Modifier and Type | Method and Description |
|---|---|
static InstantRange.RangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstantRange.RangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstantRange.RangeType OPEN_CLOSED
public static final InstantRange.RangeType CLOSED_CLOSED
public static final InstantRange.RangeType EXACT_MATCH
public static final InstantRange.RangeType COMPOSITION
public static InstantRange.RangeType[] values()
for (InstantRange.RangeType c : InstantRange.RangeType.values()) System.out.println(c);
public static InstantRange.RangeType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2024 The Apache Software Foundation. All rights reserved.