@@ -0,0 +1,502 @@
+package com.ryanpmartz.booktrackr.util;%0A%0Aimport org.springframework.util.Assert;%0A%0Aimport java.time.Instant;%0Aimport java.time.LocalDate;%0Aimport java.time.ZoneId;%0Aimport java.util.Date;%0A%0Apublic class DateUtil %7B%0A%0A    public static Date toJavaDate(LocalDate localDate) %7B%0A        Assert.notNull(localDate, %22Cannot convert null LocalDate to Date%22);%0A        Instant localDateInstant = Instant.from(localDate.atStartOfDay().atZone(ZoneId.systemDefault()));%0A%0A        return Date.from(localDateInstant);%0A    %7D%0A%7D%0A

add date util