Package org.sellcom.geotemporal.time
Class Years
- java.lang.Object
-
- org.sellcom.geotemporal.time.Years
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisInRange(Year year, Year startYear, Year endYear)Checks whether the given year is within the range of the given years.
-
-
-
Method Detail
-
isInRange
public static boolean isInRange(Year year, Year startYear, Year endYear)
Checks whether the given year is within the range of the given years. Both the start year and the end year are inclusive.- Throws:
IllegalArgumentException- ifyearisnullIllegalArgumentException- ifstartDateisnullIllegalArgumentException- ifendDateisnull- Since:
- 1.0
-
-