public static enum StatsUtil.PeriodType extends Enum<StatsUtil.PeriodType>
Enum Constant and Description |
---|
DAY
Based on day.
|
MONTH
Based on month.
|
Modifier and Type | Method and Description |
---|---|
static StatsUtil.PeriodType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatsUtil.PeriodType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatsUtil.PeriodType MONTH
public static final StatsUtil.PeriodType DAY
public static StatsUtil.PeriodType[] values()
for (StatsUtil.PeriodType c : StatsUtil.PeriodType.values()) System.out.println(c);
public static StatsUtil.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 nullCopyright © 2004–2021 XWiki. All rights reserved.