public final class DateRange extends Object
Represents the date range
Constructor and Description |
---|
DateRange()
Initializes a new instance of the
DateRange class |
DateRange(Date startTime,
Date endTime)
Initializes a new instance of the
DateRange class |
Modifier and Type | Method and Description |
---|---|
Date |
getEndTime()
Gets or sets the end of a time period.
|
Date |
getStartTime()
Gets or sets the start of a time period.
|
void |
setEndTime(Date value)
Gets or sets the end of a time period.
|
void |
setStartTime(Date value)
Gets or sets the start of a time period.
|
public DateRange(Date startTime, Date endTime)
Initializes a new instance of the DateRange
class
startTime
- Specifies the start of a time period.endTime
- Specifies the end of a time period.public DateRange()
Initializes a new instance of the DateRange
class
public final Date getStartTime()
Gets or sets the start of a time period.
public final void setStartTime(Date value)
Gets or sets the start of a time period.
public final Date getEndTime()
Gets or sets the end of a time period.
public final void setEndTime(Date value)
Gets or sets the end of a time period.