Package | Description |
---|---|
org.apache.commons.net.ntp |
Modifier and Type | Method | Description |
---|---|---|
TimeInfo |
NTPUDPClient.getTime(java.net.InetAddress host) |
Retrieves the time information from the specified server on the
default NTP port and returns it.
|
TimeInfo |
NTPUDPClient.getTime(java.net.InetAddress host,
int port) |
Retrieves the time information from the specified server and port and
returns it.
|