Smelly parameters names (same for setDate1 and setDate2).

In agile method, it is important that the code document itself. date1 and date2 isn't intuitive enough. endDate and beginDate maybe ?