eliminated dup lines in resetDates function
Merge pull request #6 from lizlongnc/dev_liz

eliminated dup lines in resetDates function