Interface Clock

All Known Implementing Classes:
SystemClock

interface Clock
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the current time, expressed as the number of milliseconds since the epoch.
  • Method Details

    • getCurrentTime

      long getCurrentTime()
      Returns the current time, expressed as the number of milliseconds since the epoch.
      Returns:
      current time