public enum AggregationTimeUnit extends Enum<AggregationTimeUnit>
Enum Constant and Description |
---|
DAY
by the day
|
HOUR
by the hour
|
MINUTE
by the minute
|
MONTH
by the month
|
QUARTER
by the quarter
|
WEEK
by the week
|
YEAR
by the year
|
Modifier and Type | Method and Description |
---|---|
static AggregationTimeUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AggregationTimeUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AggregationTimeUnit YEAR
public static final AggregationTimeUnit QUARTER
public static final AggregationTimeUnit MONTH
public static final AggregationTimeUnit WEEK
public static final AggregationTimeUnit DAY
public static final AggregationTimeUnit HOUR
public static final AggregationTimeUnit MINUTE
public static AggregationTimeUnit[] values()
for (AggregationTimeUnit c : AggregationTimeUnit.values()) System.out.println(c);
public static AggregationTimeUnit 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 null