public class DateInterval extends Object
Modifier and Type | Field and Description |
---|---|
LocalDate |
firstDate
firstDate, This is the first date in the interval.
|
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(LocalDate intervalStart,
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 LocalDate firstDate
public LocalDate lastDate
Copyright © 2018. All rights reserved.