add date range class and unit test