class DateUtils {

	public static Date normalizeDate(Date date) {
		try {
			DateTimeFormatter dtf = DATE_FORMATTER;
			TemporalAccessor ta = dtf.parse(dtf.format(toLocalDate(date)));
			LocalDate localDateTime = LocalDate.from(ta);
			return toDate(localDateTime);
		}
		catch (DateTimeParseException e) {
			throw new AssertException("Unexpected exception parsing date from a known format", e);
		}
	}

}