public final class WindowsTimeFunction extends Object implements TimeFunction
This function is for WINDOWS systems.
On WINDOWS, the typical system time granularity is 15.625ms due to a default 64Hz timer frequency.
It can advance be up to 48ms ahead of system time.
TimeFunction| Constructor and Description |
|---|
WindowsTimeFunction()
Default constructor.
|
WindowsTimeFunction(Clock clock)
Constructor with a clock.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getAsLong() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoExpectedRange, toUnixTimestamppublic WindowsTimeFunction()
public WindowsTimeFunction(Clock clock)
clock - a clockpublic long getAsLong()
getAsLong in interface LongSupplierCopyright © 2024. All rights reserved.