public static enum Enums.IntervalType extends java.lang.Enum<Enums.IntervalType>
Enum Constant and Description |
---|
DAY |
HOUR |
MINUTE |
MONTH |
POINT |
SECOND |
TICK |
VOLUME |
WEEK |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static Enums.IntervalType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Enums.IntervalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Enums.IntervalType MONTH
public static final Enums.IntervalType WEEK
public static final Enums.IntervalType DAY
public static final Enums.IntervalType HOUR
public static final Enums.IntervalType MINUTE
public static final Enums.IntervalType SECOND
public static final Enums.IntervalType POINT
public static final Enums.IntervalType VOLUME
public static final Enums.IntervalType TICK
public static Enums.IntervalType[] values()
for (Enums.IntervalType c : Enums.IntervalType.values()) System.out.println(c);
public static Enums.IntervalType 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 java.lang.String toString()
toString
in class java.lang.Enum<Enums.IntervalType>