Enum PoloniexChartDataPeriodType
- java.lang.Object
-
- java.lang.Enum<PoloniexChartDataPeriodType>
-
- org.knowm.xchange.poloniex.service.PoloniexChartDataPeriodType
-
- All Implemented Interfaces:
Serializable,Comparable<PoloniexChartDataPeriodType>
public enum PoloniexChartDataPeriodType extends Enum<PoloniexChartDataPeriodType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PERIOD_14400PERIOD_1800PERIOD_300PERIOD_7200PERIOD_86400PERIOD_900
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetPeriod()static PoloniexChartDataPeriodTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PoloniexChartDataPeriodType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PERIOD_300
public static final PoloniexChartDataPeriodType PERIOD_300
-
PERIOD_900
public static final PoloniexChartDataPeriodType PERIOD_900
-
PERIOD_1800
public static final PoloniexChartDataPeriodType PERIOD_1800
-
PERIOD_7200
public static final PoloniexChartDataPeriodType PERIOD_7200
-
PERIOD_14400
public static final PoloniexChartDataPeriodType PERIOD_14400
-
PERIOD_86400
public static final PoloniexChartDataPeriodType PERIOD_86400
-
-
Method Detail
-
values
public static PoloniexChartDataPeriodType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PoloniexChartDataPeriodType c : PoloniexChartDataPeriodType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PoloniexChartDataPeriodType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getPeriod
public int getPeriod()
-
-