Interface TimeProvider

All Known Implementing Classes:
OffsetTimeProvider

public interface TimeProvider
Interface to provide the current time
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns current time in milliseconds
    int
    Returns current time in seconds
  • Method Details

    • currentTimeSeconds

      int currentTimeSeconds()
      Returns current time in seconds
      Returns:
      see description
    • currentTimeMillis

      long currentTimeMillis()
      Returns current time in milliseconds
      Returns:
      see description