Class GRAph.monthDay

java.lang.Object
  |
  +--GRAph.monthDay

public class GRAph.monthDay
extends java.lang.Object

Inner class providing calendar functions.


Field Summary
 int day
           
 int month
           
 
Constructor Summary
GRAph.monthDay(int day_of_year)
           
 
Method Summary
 int getDay()
           
 int getDayOfYear()
           
 int getDaysInMonth()
           
 int getDaysLeftInMonth()
           
 int getMonth()
           
 int nextDay()
          increments the day, and if necessary the month.
 int nextMonth()
          Increments the month.
 void setMonthDay(int day_of_year)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

month

public int month

day

public int day
Constructor Detail

GRAph.monthDay

public GRAph.monthDay(int day_of_year)
Method Detail

setMonthDay

public void setMonthDay(int day_of_year)

getMonth

public int getMonth()

getDay

public int getDay()

getDayOfYear

public int getDayOfYear()

getDaysInMonth

public int getDaysInMonth()

getDaysLeftInMonth

public int getDaysLeftInMonth()

nextMonth

public int nextMonth()
Increments the month. Wraps after month 11. Returns the next month.

nextDay

public int nextDay()
increments the day, and if necessary the month. If at the end of the month, day count wraps to zero. Returns the incremented day number.