@GenerateDto(dtoPackage="net.datenwerke.scheduler.client.scheduler.dto.config.complex") public enum Days extends java.lang.Enum<Days>
Enum Constant and Description |
---|
DAY |
FRIDAY |
MONDAY |
SATURDAY |
SUNDAY |
THURSDAY |
TUESDAY |
WEDNESDAY |
WEEKENDDAY |
WORKINGDAY |
Modifier and Type | Method and Description |
---|---|
static Days |
fromCalendarDay(int day) |
java.lang.String |
toString() |
static Days |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Days[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@EnumLabel(msg=SchedulerMessages.class, key="enumLabelMonday") public static final Days MONDAY
@EnumLabel(msg=SchedulerMessages.class, key="enumLabelTuesday") public static final Days TUESDAY
@EnumLabel(msg=SchedulerMessages.class, key="enumLabelWednesday") public static final Days WEDNESDAY
@EnumLabel(msg=SchedulerMessages.class, key="enumLabelThursday") public static final Days THURSDAY
@EnumLabel(msg=SchedulerMessages.class, key="enumLabelFriday") public static final Days FRIDAY
@EnumLabel(msg=SchedulerMessages.class, key="enumLabelSaturday") public static final Days SATURDAY
@EnumLabel(msg=SchedulerMessages.class, key="enumLabelSunday") public static final Days SUNDAY
@EnumLabel(msg=SchedulerMessages.class, key="enumLabelDay") public static final Days DAY
@EnumLabel(msg=SchedulerMessages.class, key="enumLabelWorkingDay") public static final Days WORKINGDAY
@EnumLabel(msg=SchedulerMessages.class, key="enumLabelWeekendDay") public static final Days WEEKENDDAY
public static Days[] values()
for (Days c : Days.values()) System.out.println(c);
public static Days 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 java.lang.String toString()
toString
in class java.lang.Enum<Days>
public static Days fromCalendarDay(int day)