updated setToWeekEnd() method