new date range calculus support in controller