public enum ExecutionDay extends Enum<ExecutionDay>
Enum Constant and Description |
---|
ALLDAY |
FRIDAY |
MONDAY |
SATURDAY |
SUNDAY |
THURSDAY |
TUESDAY |
WEDNESDAY |
Modifier and Type | Method and Description |
---|---|
static ExecutionDay[] |
getAllDay() |
static ExecutionDay |
getByDateWeekday(int nDay) |
static ExecutionDay |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionDay[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionDay MONDAY
public static final ExecutionDay TUESDAY
public static final ExecutionDay WEDNESDAY
public static final ExecutionDay THURSDAY
public static final ExecutionDay FRIDAY
public static final ExecutionDay SATURDAY
public static final ExecutionDay SUNDAY
public static final ExecutionDay ALLDAY
public static ExecutionDay[] values()
for (ExecutionDay c : ExecutionDay.values()) System.out.println(c);
public static ExecutionDay 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 static ExecutionDay[] getAllDay()
public static ExecutionDay getByDateWeekday(int nDay)
Copyright © 2021. All Rights Reserved.