Class WindowsTimeFunction

  • All Implemented Interfaces:
    TimeFunction, LongSupplier

    public final class WindowsTimeFunction
    extends Object
    implements TimeFunction
    Function that returns a number of 100-nanoseconds since 1970-01-01 (Unix epoch).

    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.

    See Also:
    TimeFunction
    • Constructor Detail

      • WindowsTimeFunction

        public WindowsTimeFunction()
      • WindowsTimeFunction

        public WindowsTimeFunction​(Clock clock)