code: @SuppressWarnings("deprecation")
      public static LocalTime toLocalTime(java.sql.Time sqlTime) {
          return LocalTime.of(sqlTime.getHours(), sqlTime.getMinutes(), sqlTime.getSeconds());
      }
docs: Converts a {@code java.sql.Time} to a {@code LocalTime}.
  
  @param sqlTime  the SQL time, not null
  @return the local time, not null