com.pecasim.base.simulation
Enum SimDate.MONTH

java.lang.Object
  extended by java.lang.Enum<SimDate.MONTH>
      extended by com.pecasim.base.simulation.SimDate.MONTH
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SimDate.MONTH>
Enclosing class:
SimDate

public static enum SimDate.MONTH
extends java.lang.Enum<SimDate.MONTH>


Enum Constant Summary
APRIL
           
AUGUST
           
DECEMBER
           
FEBRUARY
           
JANUARY
           
JULY
           
JUNE
           
MARCH
           
MAY
           
NOVEMBER
           
OCTOBER
           
SEPTEMBER
           
 
Method Summary
 int month()
           
static SimDate.MONTH valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SimDate.MONTH[] 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
 

Enum Constant Detail

JANUARY

public static final SimDate.MONTH JANUARY

FEBRUARY

public static final SimDate.MONTH FEBRUARY

MARCH

public static final SimDate.MONTH MARCH

APRIL

public static final SimDate.MONTH APRIL

MAY

public static final SimDate.MONTH MAY

JUNE

public static final SimDate.MONTH JUNE

JULY

public static final SimDate.MONTH JULY

AUGUST

public static final SimDate.MONTH AUGUST

SEPTEMBER

public static final SimDate.MONTH SEPTEMBER

OCTOBER

public static final SimDate.MONTH OCTOBER

NOVEMBER

public static final SimDate.MONTH NOVEMBER

DECEMBER

public static final SimDate.MONTH DECEMBER
Method Detail

values

public static final SimDate.MONTH[] 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.MONTH c : SimDate.MONTH.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.MONTH 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

month

public int month()