public enum Period extends Enum<Period>
| Enum Constant and Description |
|---|
ONE_MONTH |
OVERALL |
SEVEN_DAY |
SIX_MONTH |
THREE_MONTH |
TWELVE_MONTH |
| Modifier and Type | Method and Description |
|---|---|
static Period |
fromString(String s) |
String |
getString() |
static Period |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Period[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Period SEVEN_DAY
public static final Period ONE_MONTH
public static final Period THREE_MONTH
public static final Period SIX_MONTH
public static final Period TWELVE_MONTH
public static final Period OVERALL
public static Period[] values()
for (Period c : Period.values()) System.out.println(c);
public static Period 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 getString()
Copyright © 2012. All Rights Reserved.