code: protected static LocalDate getAsLocalDate(ResultSet rs, int index) throws SQLException {
          Date date = rs.getDate(index);
          if (date != null) {
              return date.toLocalDate();
          }
          return null;
      }
docs: Get the column value as LocalDate.
  @param rs    ResultSet
  @param index column index
  @return column value
  @throws SQLException in case of extraction failure