Computes an offset duration from when this clock was instantiated.
Approximates the local time from a timestamp originating from the remote machine.
A remote timestamp.
Approximates the local from an offset duration originating from the remote machine's last known time.
A remote duration, in milliseconds.
Approximates the current time on the remote machine.
Approximates an offset duration on the remote machine.
A local timestamp. Defaults to the current local time.
Approximates the remote time from a local timestamp.
A local timestamp.
Approximates the remote time from a local offset duration.
A local offset, in milliseconds.
A
SynchronizedClock
allows for approximating the time on a remote machine.During initialization, a known time of the remote host must be supplied. Once the remote time is known, this class can approximate the time on the remote machine from a date or duration.