Added range class to check range of two date ranges