Class SystemClock

    • Constructor Detail

      • SystemClock

        public SystemClock()
    • Method Detail

      • currentTimeMillis

        public long currentTimeMillis()
        Returns the system time.
        Specified by:
        currentTimeMillis in interface Clock
        Returns:
        the result of calling System.currentTimeMillis()
      • init

        public void init​(MutableInstant mutableInstant)
        Description copied from interface: PreciseClock
        Initializes the specified instant with time information as accurate as available on this platform.
        Specified by:
        init in interface PreciseClock
        Parameters:
        mutableInstant - the container to be initialized with the accurate time information