public class DaytimeClock extends NetTimeConnector<NetTimeConfiguration>
Represents a connection to a DAYTIME-server following the old norm RFC 867.
Note that the format of the server reply is not specified by the protocol. Furthermore, many internet time servers have stopped to support this old protocol. Actually in year 2014, at least the addresses "time.nist.gov" and "time.ien.it" are still working. Applications cannot expect more than second precision at best.
|Modifier and Type||Field and Description|
Defines an instance which supports the NIST-servers using the multiple-location-address "time.nist.gov" and a specific format.
|Constructor and Description|
Creates a new instance which uses the given time server on the port 13.
|Modifier and Type||Method and Description|
Tries to get the raw server timestamp as original string.
connect, currentTime, getLastConnectionTime, getLastOffsetInMicros, getNetTimeConfiguration, isLogEnabled, isRunning, reconfigure, setLogWriter
inLocalView, inPlatformView, inZonalView, inZonalView
Copyright © 2014–2019. All rights reserved.