caltool.schedule
Enum DayName

java.lang.Object
  extended by java.lang.Enum<DayName>
      extended by caltool.schedule.DayName
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DayName>

public enum DayName
extends java.lang.Enum<DayName>

Class DayName is one of the seven standard days of the week.


Enum Constant Summary
Friday
          One of the seven days of the week
Monday
          One of the seven days of the week
Saturday
          One of the seven days of the week
Sunday
          One of the seven days of the week
Thursday
          One of the seven days of the week
Tuesday
          One of the seven days of the week
Wednesday
          One of the seven days of the week
 
Method Summary
static DayName valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DayName[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Sunday

public static final DayName Sunday
One of the seven days of the week


Monday

public static final DayName Monday
One of the seven days of the week


Tuesday

public static final DayName Tuesday
One of the seven days of the week


Wednesday

public static final DayName Wednesday
One of the seven days of the week


Thursday

public static final DayName Thursday
One of the seven days of the week


Friday

public static final DayName Friday
One of the seven days of the week


Saturday

public static final DayName Saturday
One of the seven days of the week

Method Detail

values

public static final DayName[] 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(DayName c : DayName.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static DayName 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