public static enum Range.RangeType extends java.lang.Enum<Range.RangeType>
Enum Constant and Description |
---|
THIS_AND_FUTURE |
THIS_AND_PRIOR |
Modifier and Type | Method and Description |
---|---|
static Range.RangeType |
enumFromName(java.lang.String propertyName)
get enum from name
|
java.lang.String |
toString() |
static Range.RangeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Range.RangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Range.RangeType THIS_AND_FUTURE
public static final Range.RangeType THIS_AND_PRIOR
public static Range.RangeType[] values()
for (Range.RangeType c : Range.RangeType.values()) System.out.println(c);
public static Range.RangeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Range.RangeType enumFromName(java.lang.String propertyName)
get enum from name
public java.lang.String toString()
toString
in class java.lang.Enum<Range.RangeType>