com.pecasim.base.simulation
Enum SimDate.WEEKDAY
java.lang.Object
java.lang.Enum<SimDate.WEEKDAY>
com.pecasim.base.simulation.SimDate.WEEKDAY
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<SimDate.WEEKDAY>
- Enclosing class:
- SimDate
public static enum SimDate.WEEKDAY
- extends java.lang.Enum<SimDate.WEEKDAY>
Method Summary |
static SimDate.WEEKDAY |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SimDate.WEEKDAY[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
SUNDAY
public static final SimDate.WEEKDAY SUNDAY
MONDAY
public static final SimDate.WEEKDAY MONDAY
TUESDAY
public static final SimDate.WEEKDAY TUESDAY
WEDNESDAY
public static final SimDate.WEEKDAY WEDNESDAY
THURSDAY
public static final SimDate.WEEKDAY THURSDAY
FRIDAY
public static final SimDate.WEEKDAY FRIDAY
SATURDAY
public static final SimDate.WEEKDAY SATURDAY
values
public static final SimDate.WEEKDAY[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(SimDate.WEEKDAY c : SimDate.WEEKDAY.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static SimDate.WEEKDAY valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name