com.std.util.range
Class DayRange
java.lang.Object
com.std.util.range.DateRange
com.std.util.range.DayRange
- All Implemented Interfaces:
- java.io.Serializable
public class DayRange
- extends DateRange
represents a full day as a range of dates
- Author:
- xxx
- See Also:
- Serialized Form
Constructor Summary |
DayRange()
creates a DayRange representing today |
DayRange(java.util.Date date)
creates a GridMonthRange representing 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
DayRange
public DayRange()
- creates a DayRange representing today
DayRange
public DayRange(java.util.Date date)
- creates a GridMonthRange representing the given date
- Parameters:
date
- day to represent
nextDay
public DayRange nextDay()
- Returns:
- the next sequential day
previousDay
public DayRange previousDay()
- Returns:
- the previous sequential day