public class DateRange extends JsObject
Constructor and Description |
---|
DateRange() |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getEndDate()
Returns the end date or null if open ended.
|
com.google.gwt.core.client.JavaScriptObject |
getJsObj() |
RelativeDate |
getRelativeEndDate()
Returns the relative end date of the range, or null if not specified.
|
RelativeDate |
getRelativeStartDate()
Returns the relative start date of the range, or null if not specified.
|
java.util.Date |
getStartDate()
Returns the start date or null if open ended.
|
void |
setEndDate(java.util.Date endDate)
Set the end date of the range.
|
void |
setRelativeEndDate(RelativeDate relativeEndDate)
Set the relative end date of the range.
|
void |
setRelativeStartDate(RelativeDate relativeStartDate)
Set the relative start date of the range.
|
void |
setStartDate(java.util.Date startDate)
Set the start date of the range.
|
public java.util.Date getStartDate()
relativeStartDate
,
the date is converted to an absolute value and returned.public void setStartDate(java.util.Date startDate)
startDate
- the start datepublic java.util.Date getEndDate()
relativeEndDate
,
the date is converted to an absolute value and returned.public void setEndDate(java.util.Date endDate)
endDate
- the end datepublic RelativeDate getRelativeStartDate()
public void setRelativeStartDate(RelativeDate relativeStartDate)
relativeStartDate
- the relative start datepublic RelativeDate getRelativeEndDate()
public void setRelativeEndDate(RelativeDate relativeEndDate)
relativeEndDate
- the relative end date