code: @Override
      protected Moment doConnect() throws IOException, ParseException {
  
          final NetTimeConfiguration cfg = this.getNetTimeConfiguration();
  
          URL url = new URL(cfg.getTimeServerAddress());
          int timeoutMillis =
              MathUtils.safeMultiply(cfg.getConnectionTimeout(), 1000);
          HttpURLConnection conn = (HttpURLConnection) url.openConnection();
          conn.setConnectTimeout(timeoutMillis);
          conn.setReadTimeout(timeoutMillis);
          conn.setUseCaches(false);
          conn.setRequestMethod("HEAD");
  
          int responseCode = conn.getResponseCode();
  
          if (responseCode >= 200 && responseCode <= 399) {
              return JAVA_UTIL_DATE.translate(new Date(conn.getDate()));
          }
  
          throw new IOException("HTTP server status: " + responseCode);
  
      }
docs: ~ Methoden ----------------------------------------------------------