Introduced 3 Explaining Variables in getAmount(Date startDate, Date endDate)