public enum PeriodType extends Enum<PeriodType>
| Enum Constant and Description |
|---|
_12h |
_15m |
_1d |
_1h |
_2h |
_30m |
_4h |
_5m |
_6h |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
static PeriodType |
lookup(String name) |
String |
toString() |
static PeriodType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PeriodType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeriodType _5m
public static final PeriodType _15m
public static final PeriodType _30m
public static final PeriodType _1h
public static final PeriodType _2h
public static final PeriodType _4h
public static final PeriodType _6h
public static final PeriodType _12h
public static final PeriodType _1d
public static PeriodType[] values()
for (PeriodType c : PeriodType.values()) System.out.println(c);
public static PeriodType 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 nullpublic String getCode()
public String toString()
toString in class Enum<PeriodType>public static PeriodType lookup(String name)
Copyright © 2021. All rights reserved.