Example usage for Java org.apache.commons.net.time TimeUDPClient fields, constructors, methods, implement or subclass
The text is from its open source code.
long | SECONDS_1900_TO_1970 The number of seconds between 00:00 1 January 1900 and 00:00 1 January 1970. |
void | close() Closes the DatagramSocket used for the connection. |
Date | getDate(InetAddress host) Same as getTime(host, DEFAULT_PORT); |
void | open() Opens a DatagramSocket on the local host at the first available port. |
void | setDefaultTimeout(int timeout) Set the default timeout in milliseconds to use when opening a socket. |