public static enum BaseDateInterval.Type extends java.lang.Enum<BaseDateInterval.Type>
Enum Constant and Description |
---|
LAST
Interval the preceding to the current.
|
NEXT
Interval from the current to future.
|
PREDEFINED
Predefined date interval.
|
RELATIVE
Interval that uses date and time constants (e.g.
|
Modifier and Type | Method and Description |
---|---|
static BaseDateInterval.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BaseDateInterval.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseDateInterval.Type LAST
DateInterval
public static final BaseDateInterval.Type NEXT
DateInterval
public static final BaseDateInterval.Type PREDEFINED
PredefinedDateInterval
public static final BaseDateInterval.Type RELATIVE
RelativeDateInterval
public static BaseDateInterval.Type[] values()
for (BaseDateInterval.Type c : BaseDateInterval.Type.values()) System.out.println(c);
public static BaseDateInterval.Type 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 null