List of utility methods to do Date to LocalDate
LocalDate | asLocalDate(Date date) as Local Date return asLocalDateTime(date).toLocalDate();
|
LocalDate | asLocalDate(final Date date) Converts a Date into a LocalDate using the default timezone. if (date != null) { return asLocalDate(date.getTime()); return null; |
LocalDate | dateToLocalDate(Date d) date To Local Date return d.toInstant().atZone(ZoneId.systemDefault()).toLocalDate();
|