code: protected static OffsetTime getAsOffsetTime(ResultSet rs, int index, ZoneId zoneId) throws SQLException {
          Time time = rs.getTime(index);
          if (time != null) {
              return time.toLocalTime().atOffset(zoneId.getRules().getOffset(Instant.now()));
          }
          return null;
      }
docs: Get the column value as OffsetTime.
  @param rs     ResultSet
  @param index  column index
  @param zoneId zoneId
  @return column value
  @throws SQLException in case of extraction failure