Class Month

java.lang.Object
  extended byMonth

public class Month
extends Object

The Month class implements an object that keeps track of the month of the year.

Version:
5

Constructor Summary
Month()
          Month constructor constructs a Month object initialized to the current month and year.
 
Method Summary
static void main(String[] args)
          For unit testing.
 void next()
          Advance to next month.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Month

public Month()
Month constructor constructs a Month object initialized to the current month and year.

Method Detail

main

public static void main(String[] args)
For unit testing.


next

public void next()
Advance to next month.