Class SystemClock

  • All Implemented Interfaces:
    RelativeClock

    @PublicEvolving
    public final class SystemClock
    extends Clock
    A clock that returns the time of the system / process.

    This clock uses System.currentTimeMillis() for absolute time and System.nanoTime() for relative time.

    This SystemClock exists as a singleton instance.