code: public static Instant toInstant(Timestamp sqlTimestamp) {
          return Instant.ofEpochSecond(sqlTimestamp.getTime() / 1000, sqlTimestamp.getNanos());
      }
docs: Converts a {@code java.sql.Timestamp} to an {@code Instant}.
  
  @param sqlTimestamp  the SQL timestamp, not null
  @return the instant, not null