Class Overview
A simple class to represent a date range
Summary
Public Constructors |
|
DateRange(Date lowerDate, Date upperDate)
The passed in dates can never be null and if the lower is higher than the upper then they are swapped into lower
then upper order.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
DateRange
(Date lowerDate, Date upperDate)
The passed in dates can never be null and if the lower is higher than the upper then they are swapped into lower
then upper order.
Parameters
lowerDate
| the lower date of the range |
upperDate
| the upper date of the range
|
Public Methods
public
boolean
equals
(Object o)
public
Date
getLowerDate
()
Returns
- the lower of the dates in the date range
public
Date
getUpperDate
()
Returns
- the lower of the dates in the date range