Constructor and Description |
---|
DateRange(Date from,
Date to)
Used for specify a date range to filter to be used in search.
|
Modifier and Type | Method and Description |
---|---|
String |
buildRangeString()
Used to build out a string a http box api friendly range string.
|
Date |
getFromDate()
Returns the from date which is the start date.
|
Date |
getToDate()
Returns the to date which is the end date.
|
void |
setFrom(Date from)
Set the from date which is equivalent to the start date.
|
void |
setTo(Date to)
Set the to date which is equivalent to the start date.
|
public Date getFromDate()
public void setFrom(Date from)
from
- date which is the starting point.public Date getToDate()
public void setTo(Date to)
to
- date which is the end point.public String buildRangeString()