public class DateInterval extends Object
| Modifier and Type | Field and Description |
|---|---|
java.time.LocalDate |
firstDate
firstDate, This is the first date in the interval.
|
java.time.LocalDate |
lastDate
lastDate, This is the last date in the interval.
|
| Constructor and Description |
|---|
DateInterval()
Constructor (Empty), This will create an empty DateInterval instance.
|
DateInterval(java.time.LocalDate intervalStart,
java.time.LocalDate intervalEnd)
Constructor (Normal), This will create a date interval using the supplied dates.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty()
isEmpty, This will return true if both dates are null.
|
public java.time.LocalDate firstDate
public java.time.LocalDate lastDate
public DateInterval()
public DateInterval(java.time.LocalDate intervalStart,
java.time.LocalDate intervalEnd)
Copyright © 2017. All rights reserved.