public static enum EnergyTimeOfUse.DaysEnum extends Enum<EnergyTimeOfUse.DaysEnum>
| Enum Constant and Description |
|---|
FRI |
MON |
PUBLIC_HOLIDAYS |
SAT |
SUN |
THU |
TUE |
WED |
| Modifier and Type | Method and Description |
|---|---|
static EnergyTimeOfUse.DaysEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnergyTimeOfUse.DaysEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnergyTimeOfUse.DaysEnum SUN
public static final EnergyTimeOfUse.DaysEnum MON
public static final EnergyTimeOfUse.DaysEnum TUE
public static final EnergyTimeOfUse.DaysEnum WED
public static final EnergyTimeOfUse.DaysEnum THU
public static final EnergyTimeOfUse.DaysEnum FRI
public static final EnergyTimeOfUse.DaysEnum SAT
public static final EnergyTimeOfUse.DaysEnum PUBLIC_HOLIDAYS
public static EnergyTimeOfUse.DaysEnum[] values()
for (EnergyTimeOfUse.DaysEnum c : EnergyTimeOfUse.DaysEnum.values()) System.out.println(c);
public static EnergyTimeOfUse.DaysEnum 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 © 2023. All rights reserved.