public static enum BCEnergyConfig.SpecialEventType extends java.lang.Enum<BCEnergyConfig.SpecialEventType>
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
lowerCaseName |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled(java.time.MonthDay date) |
static BCEnergyConfig.SpecialEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BCEnergyConfig.SpecialEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BCEnergyConfig.SpecialEventType DISABLED
public static final BCEnergyConfig.SpecialEventType DAY_ONLY
public static final BCEnergyConfig.SpecialEventType MONTH
public static final BCEnergyConfig.SpecialEventType ENABLED
public static BCEnergyConfig.SpecialEventType[] values()
for (BCEnergyConfig.SpecialEventType c : BCEnergyConfig.SpecialEventType.values()) System.out.println(c);
public static BCEnergyConfig.SpecialEventType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isEnabled(java.time.MonthDay date)