public class DateRange
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DateRange(java.time.LocalDate startDate,
java.time.LocalDate endDate)
Creates a new DateRange object with the given start and end date.
|
Modifier and Type | Method and Description |
---|---|
java.time.LocalDate |
getEndDate()
Returns the end date
|
java.time.LocalDate |
getStartDate()
Returns the start date
|
void |
setEndDate(java.time.LocalDate endDate)
Sets the end date
|
void |
setStartDate(java.time.LocalDate startDate)
Sets the start date
|
public DateRange(java.time.LocalDate startDate, java.time.LocalDate endDate)
startDate
- endDate
- public java.time.LocalDate getEndDate()
public java.time.LocalDate getStartDate()
public void setEndDate(java.time.LocalDate endDate)
endDate
- public void setStartDate(java.time.LocalDate startDate)
startDate
-