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