public enum RangeSelectorTimespan extends Enum<RangeSelectorTimespan> implements ChartEnum
Enum Constant and Description |
---|
ALL |
DAY |
MILLISECOND |
MINUTE |
MONTH |
SECOND |
WEEK |
YEAR |
YEAR_TO_DATE |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
toString() |
static RangeSelectorTimespan |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RangeSelectorTimespan[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RangeSelectorTimespan MILLISECOND
public static final RangeSelectorTimespan SECOND
public static final RangeSelectorTimespan MINUTE
public static final RangeSelectorTimespan DAY
public static final RangeSelectorTimespan WEEK
public static final RangeSelectorTimespan MONTH
public static final RangeSelectorTimespan YEAR_TO_DATE
public static final RangeSelectorTimespan YEAR
public static final RangeSelectorTimespan ALL
public static RangeSelectorTimespan[] values()
for (RangeSelectorTimespan c : RangeSelectorTimespan.values()) System.out.println(c);
public static RangeSelectorTimespan 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 getName()
public String toString()
toString
in class Enum<RangeSelectorTimespan>
Copyright © 2021. All rights reserved.