caltool.schedule
Enum MonthName

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

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

Class MonthName is one of the twelve standard month of the year.


Enum Constant Summary
April
          One of the twelve months of the year
August
          One of the twelve months of the year
December
          One of the twelve months of the year
February
          One of the twelve months of the year
January
          One of the twelve months of the year
July
          One of the twelve months of the year
June
          One of the twelve months of the year
March
          One of the twelve months of the year
May
          One of the twelve months of the year
November
          One of the twelve months of the year
October
          One of the twelve months of the year
September
          One of the twelve months of the year
 
Method Summary
static MonthName valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MonthName[] 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

January

public static final MonthName January
One of the twelve months of the year


February

public static final MonthName February
One of the twelve months of the year


March

public static final MonthName March
One of the twelve months of the year


April

public static final MonthName April
One of the twelve months of the year


May

public static final MonthName May
One of the twelve months of the year


June

public static final MonthName June
One of the twelve months of the year


July

public static final MonthName July
One of the twelve months of the year


August

public static final MonthName August
One of the twelve months of the year


September

public static final MonthName September
One of the twelve months of the year


October

public static final MonthName October
One of the twelve months of the year


November

public static final MonthName November
One of the twelve months of the year


December

public static final MonthName December
One of the twelve months of the year

Method Detail

values

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

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

valueOf

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