Class DateRange
- java.lang.Object
-
- com.orchestranetworks.addon.dama.ext.bean.DateRange
-
public final class DateRange extends java.lang.ObjectDefines the range between two dates.- Since:
- 1.6.0
-
-
Constructor Summary
Constructors Constructor Description DateRange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.DategetEndDate()Returns the end date.java.util.DategetStartDate()Returns the start date.booleanisInDateRange(java.util.Date date)Checks whether the date is in date range.voidsetEndDate(java.util.Date endDate)Specifies the end date.voidsetStartDate(java.util.Date startDate)Specifies the start date.
-
-
-
Method Detail
-
isInDateRange
public boolean isInDateRange(java.util.Date date)
Checks whether the date is in date range.- Parameters:
date- the date- Returns:
- true, if
Dateis in date range
-
setStartDate
public void setStartDate(java.util.Date startDate)
Specifies the start date.
-
setEndDate
public void setEndDate(java.util.Date endDate)
Specifies the end date.
-
getStartDate
public java.util.Date getStartDate()
Returns the start date.
-
getEndDate
public java.util.Date getEndDate()
Returns the end date.
-
-