Simplifications to DateUtils.