public final class GregorianTimeRange extends Object implements DDateRange
| Constructor and Description |
|---|
GregorianTimeRange()
Constructor.
|
GregorianTimeRange(Calendar start,
Calendar end)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Calendar |
getFrom()
Returns the end date of the date range.
|
Calendar |
getTo()
Returns the end date of the date range.
|
void |
setFrom(Calendar start)
Sets the end date of the date range.
|
void |
setTo(Calendar end)
Sets the end date of the date range.
|
String |
toString() |
public Calendar getFrom()
getFrom in interface DDateRangepublic Calendar getTo()
getTo in interface DDateRangepublic void setTo(Calendar end)
setTo in interface DDateRangeend - end datepublic void setFrom(Calendar start)
setFrom in interface DDateRangestart - start datepublic String toString()
toString in class ObjectCalendar.toString()Copyright © 2005–2020. All rights reserved.