FileDocCategorySizeDatePackage
Month2.javaAPI DocExample3353Mon Apr 06 18:10:24 BST 1998c07

Month2

public final class Month2 extends Object

Fields Summary
private String
name
public static final Month2
JAN
public static final Month2
FEB
public static final Month2
MAR
public static final Month2
APR
public static final Month2
MAY
public static final Month2
JUN
public static final Month2
JUL
public static final Month2
AUG
public static final Month2
SEP
public static final Month2
OCT
public static final Month2
NOV
public static final Month2
DEC
public static final Month2[]
month
Constructors Summary
private Month2(String nm)

 name = nm; 
Methods Summary
public static voidmain(java.lang.String[] args)

       
    Month2 m = Month2.JAN;
    System.out.println(m);
    m = Month2.month[12];
    System.out.println(m);
    System.out.println(m == Month2.DEC);
    System.out.println(m.equals(Month2.DEC));
  
public java.lang.StringtoString()

 return name;