Class NanoClock

    • Method Detail

      • getDefaultClock

        public static ApiClock getDefaultClock()
      • nanoTime

        public final long nanoTime()
        Description copied from interface: ApiClock
        Returns the current value of this clock's high-resolution time source, in nanoseconds.
        Specified by:
        nanoTime in interface ApiClock
      • millisTime

        public final long millisTime()
        Description copied from interface: ApiClock
        Returns the current value of this clock's high-resolution time source, in milliseconds.
        Specified by:
        millisTime in interface ApiClock