public interface SynchedTimeSource extends TimeSource
Modifier and Type | Method and Description |
---|---|
long |
getDrift()
Returns the current drift if there is one.
|
long |
getOffset()
Returns the current time offset for this TimeSource.
|
void |
setOffset(long offset)
Sets a time that will be automatically added into the
normally returned time.
|
getTime
long getDrift()
void setOffset(long offset)
long getOffset()