code: public static LocalDate dateToLocalDate(Date date) {
          Instant instant = date.toInstant();
          ZoneId zone = ZoneId.systemDefault();
          return LocalDateTime.ofInstant(instant, zone).toLocalDate();
      }
docs: 将java.util.Date转换为java.time.LocalDate
  
  @param date java.util.Date
  
  @return java.time.LocalDate