Class DateInterval
- java.lang.Object
-
- com.github.lgooddatepicker.optionalusertools.DateInterval
-
public class DateInterval extends java.lang.ObjectDateInterval, This class represents an interval between two dates.
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisEmpty()isEmpty, This will return true if both dates are null.
-
-
-
Constructor Detail
-
DateInterval
public DateInterval()
Constructor (Empty), This will create an empty DateInterval instance. An empty date interval has both dates set to null.
-
DateInterval
public DateInterval(java.time.LocalDate intervalStart, java.time.LocalDate intervalEnd)Constructor (Normal), This will create a date interval using the supplied dates.
-
-