com.std.util.range
Class GridMonthRange
java.lang.Object
com.std.util.range.DateRange
com.std.util.range.GridMonthRange
- All Implemented Interfaces:
- java.io.Serializable
public class GridMonthRange
- extends DateRange
represents a full month as a range of dates
- Author:
- xxx
- See Also:
- Serialized Form
Constructor Summary |
GridMonthRange()
creates a GridMonthRange representing this month |
GridMonthRange(java.util.Date date)
creates a GridMonthRange representing the month of the given date |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
GridMonthRange
public GridMonthRange()
- creates a GridMonthRange representing this month
GridMonthRange
public GridMonthRange(java.util.Date date)
- creates a GridMonthRange representing the month of the given date
- Parameters:
date
- a date in the month to represent
getWeeks
public java.util.List<WeekRange> getWeeks()
- Returns:
- a list of the 6-weeks representing this month's grid
nextMonth
public GridMonthRange nextMonth()
- Returns:
- the next sequential month
previousMonth
public GridMonthRange previousMonth()
- Returns:
- the previous sequential month