Introduce Explaining Variable in getAmount(Date startDate, Date endDate)