Added argument validation to prevent passing null Dates to DateUtil