com.sas.hls.schedule
Enum ScheduleTrigger.DayOfWeek
java.lang.Object
java.lang.Enum<ScheduleTrigger.DayOfWeek>
com.sas.hls.schedule.ScheduleTrigger.DayOfWeek
- All Implemented Interfaces:
- Serializable, Comparable<ScheduleTrigger.DayOfWeek>
- Enclosing class:
- ScheduleTrigger
public static enum ScheduleTrigger.DayOfWeek
- extends Enum<ScheduleTrigger.DayOfWeek>
DayOfWeek is an enumeration representing the days of a week to use in weekly schedules.
SUN
public static final ScheduleTrigger.DayOfWeek SUN
MON
public static final ScheduleTrigger.DayOfWeek MON
TUE
public static final ScheduleTrigger.DayOfWeek TUE
WED
public static final ScheduleTrigger.DayOfWeek WED
THU
public static final ScheduleTrigger.DayOfWeek THU
FRI
public static final ScheduleTrigger.DayOfWeek FRI
SAT
public static final ScheduleTrigger.DayOfWeek SAT
values
public static ScheduleTrigger.DayOfWeek[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ScheduleTrigger.DayOfWeek c : ScheduleTrigger.DayOfWeek.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ScheduleTrigger.DayOfWeek valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright (c) 2012, SAS Institute Inc., Cary, NC, USA