HAP-470 - calculating the days between dates without joda time as we do not have a direct dependency on it