@@ -0,0 +1,714 @@
+package com.nway.spring.jdbc.util;%0A%0Aimport java.sql.Date;%0Aimport java.sql.Time;%0Aimport java.sql.Timestamp;%0Aimport java.time.LocalDate;%0Aimport java.time.LocalDateTime;%0Aimport java.time.LocalTime;%0A%0Apublic class DateUtils %7B%0A%0A    public static LocalDate toLocalDate(Date date) %7B%0A        if (date == null) %7B%0A            return null;%0A        %7D%0A        return date.toLocalDate();%0A    %7D%0A%0A    public static LocalDateTime toLocalDateTime(Timestamp date) %7B%0A        if (date == null) %7B%0A            return null;%0A        %7D%0A        return date.toLocalDateTime();%0A    %7D%0A%0A    public static LocalTime toLocalTime(Time time) %7B%0A        if (time == null) %7B%0A            return null;%0A        %7D%0A        return time.toLocalTime();%0A    %7D%0A%7D%0A

Revert "清理"