code: @SuppressWarnings("deprecation")
      public static LocalDate toLocalDate(java.sql.Date sqlDate) {
          return LocalDate.of(sqlDate.getYear() + 1900, sqlDate.getMonth() + 1, sqlDate.getDate());
      }
docs: Converts a {@code java.sql.Date} to a {@code LocalDate}.
  
  @param sqlDate  the SQL date, not null
  @return the local date, not null