public static enum DayPeriodRules.DayPeriod extends Enum<DayPeriodRules.DayPeriod>
Enum.EnumDesc<E extends Enum<E>>| Enum Constant and Description |
|---|
AFTERNOON1 |
AFTERNOON2 |
AM |
EVENING1 |
EVENING2 |
MIDNIGHT |
MORNING1 |
MORNING2 |
NIGHT1 |
NIGHT2 |
NOON |
PM |
| Modifier and Type | Field and Description |
|---|---|
static DayPeriodRules.DayPeriod[] |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
static DayPeriodRules.DayPeriod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DayPeriodRules.DayPeriod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DayPeriodRules.DayPeriod MIDNIGHT
public static final DayPeriodRules.DayPeriod NOON
public static final DayPeriodRules.DayPeriod MORNING1
public static final DayPeriodRules.DayPeriod AFTERNOON1
public static final DayPeriodRules.DayPeriod EVENING1
public static final DayPeriodRules.DayPeriod NIGHT1
public static final DayPeriodRules.DayPeriod MORNING2
public static final DayPeriodRules.DayPeriod AFTERNOON2
public static final DayPeriodRules.DayPeriod EVENING2
public static final DayPeriodRules.DayPeriod NIGHT2
public static final DayPeriodRules.DayPeriod AM
public static final DayPeriodRules.DayPeriod PM
public static DayPeriodRules.DayPeriod[] VALUES
public static DayPeriodRules.DayPeriod[] values()
public static DayPeriodRules.DayPeriod 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