com.std.util.range
Class DayRange

java.lang.Object
extended by com.std.util.range.DateRange extended by 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

Field Summary
(package private) static long serialVersionUID
           
 
Constructor Summary
DayRange()
          creates a DayRange representing today
DayRange(java.util.Date date)
          creates a GridMonthRange representing the given date
 
Method Summary
 DayRange nextDay()
           
 DayRange previousDay()
           
 
Methods inherited from class com.std.util.range.DateRange
equals, getDurationInDays, getDurationInMS, getEndDate, getStartDate, hashCode, setEndDate, setStartDate, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

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
Method Detail

nextDay

public DayRange nextDay()
Returns:
the next sequential day

previousDay

public DayRange previousDay()
Returns:
the previous sequential day