Package org.sellcom.geotemporal.time
Class LocalDates
- java.lang.Object
-
- org.sellcom.geotemporal.time.LocalDates
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisInRange(LocalDate date, LocalDate startDate, LocalDate endDate)Checks whether the given date is within the range of the given dates.
-
-
-
Method Detail
-
isInRange
public static boolean isInRange(LocalDate date, LocalDate startDate, LocalDate endDate)
Checks whether the given date is within the range of the given dates. Both the start date and the end date are inclusive.- Throws:
IllegalArgumentException- ifdateisnullIllegalArgumentException- ifstartDateisnullIllegalArgumentException- ifendDateisnull- Since:
- 1.0
-
-