Interface Clock

All Known Implementing Classes:
SystemClock

public interface Clock
The clock interface to get current system time
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the current time in milliseconds.
  • Method Details

    • currentTimeMillis

      long currentTimeMillis()
      Returns the current time in milliseconds.