public enum PeriodType extends Enum<PeriodType>
| Enum Constant and Description |
|---|
CENTURY |
DAY |
DECADE |
MONTH |
QUARTER |
YEAR |
| Modifier and Type | Method and Description |
|---|---|
static PeriodType |
fromName(String name) |
List<ValueFormat> |
getAcceptedFormats() |
static Map<PeriodType,List<PeriodType>> |
getHierarchicalRelation() |
String |
getName() |
String |
getSeriesSelectQuery() |
ValueFormat |
getTimeFormatById(String id) |
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 DAY
public static final PeriodType MONTH
public static final PeriodType QUARTER
public static final PeriodType YEAR
public static final PeriodType DECADE
public static final PeriodType CENTURY
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 getName()
public static PeriodType fromName(String name)
public List<ValueFormat> getAcceptedFormats()
public ValueFormat getTimeFormatById(String id)
public String getSeriesSelectQuery()
public static Map<PeriodType,List<PeriodType>> getHierarchicalRelation()
Copyright © 2015. All Rights Reserved.