Class DateRange
java.lang.Object
com.orchestranetworks.addon.dama.ext.bean.DateRange
Defines the range between two dates.
- Since:
- 1.6.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the end date.Returns the start date.boolean
isInDateRange
(Date date) Checks whether the date is in date range.void
setEndDate
(Date endDate) Specifies the end date.void
setStartDate
(Date startDate) Specifies the start date.
-
Constructor Details
-
DateRange
public DateRange()
-
-
Method Details
-
isInDateRange
Checks whether the date is in date range.- Parameters:
date
- the date- Returns:
- true, if
Date
is in date range
-
setStartDate
Specifies the start date. -
setEndDate
Specifies the end date. -
getStartDate
Returns the start date. -
getEndDate
Returns the end date.
-