code: protected static LocalTime getAsLocalTime(ResultSet rs, int index) throws SQLException {
          Time time = rs.getTime(index);
          if (time != null) {
              return time.toLocalTime();
          }
          return null;
      }
docs: Get the column value as LocalTime.
  @param rs    ResultSet
  @param index column index
  @return column value
  @throws SQLException in case of extraction failure