Interface TimeProvider
- All Known Implementing Classes:
 OffsetTimeProvider
public interface TimeProvider
Interface to provide the current time
- 
Method Summary
Modifier and TypeMethodDescriptionlongReturns current time in millisecondsintReturns 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
 
 
 -