Methods Summary |
---|
public long | currentTimeMillis()Return current time similar to {@link System#currentTimeMillis()},
possibly using a cached authoritative time source.
|
public boolean | forceRefresh()Force update with an external trusted time source, returning {@code true}
when successful.
|
public long | getCacheAge()Return time since last trusted time source contact, or
{@link Long#MAX_VALUE} if never contacted.
|
public long | getCacheCertainty()Return certainty of cached trusted time in milliseconds, or
{@link Long#MAX_VALUE} if never contacted. Smaller values are more
precise.
|
public boolean | hasCache()Check if this instance has cached a response from a trusted time source.
|