Enum Constant and Description |
---|
D1
Daily.
|
H1
1 hour.
|
H4
4 hour.
|
M1
1 minute.
|
M15
15 minutes.
|
M30
30 minutes.
|
M5
5 minutes.
|
MN1
Monthly.
|
W1
Weekly.
|
Modifier and Type | Field and Description |
---|---|
static int |
SIZE |
Modifier and Type | Method and Description |
---|---|
static Timeframe |
forValue(int value) |
int |
getValue() |
static Timeframe |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Timeframe[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Timeframe M1
public static final Timeframe M5
public static final Timeframe M15
public static final Timeframe M30
public static final Timeframe H1
public static final Timeframe H4
public static final Timeframe D1
public static final Timeframe W1
public static final Timeframe MN1
public static final int SIZE
public static Timeframe[] values()
for (Timeframe c : Timeframe.values()) System.out.println(c);
public static Timeframe 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 int getValue()
public static Timeframe forValue(int value)