public NTPServerTimeProvider(String[] ntpServers) throws UnknownHostException, SocketException {
  client=new NTPUDPClient();
  setServers(ntpServers);
  if (servers.isEmpty()) {
    throw new UnknownHostException(ntpServers[0]);
  }
  setSocketTimeout();
}

public NTPServerTimeProvider ( String [ ] ntpServers ) throws UnknownHostException , SocketException { client = new NTPUDPClient ( ) ; setServers ( ntpServers ) ; if ( servers . isEmpty ( ) ) { throw new UnknownHostException ( ntpServers [ 0 ] ) ; } setSocketTimeout ( ) ; }
creates ntpservertimeprovider with a custom list of ntp server addresses
