public enum DayEnum extends Enum<DayEnum>
| Modifier and Type | Method and Description |
|---|---|
String |
getDescr() |
Integer |
getValue() |
static DayEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DayEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DayEnum M
public static final DayEnum T
public static final DayEnum W
public static final DayEnum Th
public static final DayEnum F
public static final DayEnum Sa
public static final DayEnum Su
public static DayEnum[] values()
for (DayEnum c : DayEnum.values()) System.out.println(c);
public static DayEnum 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 Integer getValue()
public String getDescr()
Copyright © 2023 Jasig. All rights reserved.