Class GRAph.monthDay
java.lang.Object
|
+--GRAph.monthDay
- public class GRAph.monthDay
- extends java.lang.Object
Inner class providing calendar functions.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
month
public int month
day
public int day
GRAph.monthDay
public GRAph.monthDay(int day_of_year)
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.