com.addc.commons.time.TimeSource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of addc-base Show documentation
Show all versions of addc-base Show documentation
The addc-base library supplies classes for creating UUIDs, converting between types, outputting byte arrays with different formats,
support for Julian dates, delay generators, parsing properties files and support for I18N.
package com.addc.commons.time;
/**
* TimeSource defines the contract for providers of the current time
*/
public interface TimeSource {
/**
* Get the current time in milliseconds since the epoch
*
* @return the current time in milliseconds since the epoch
*/
long getCurrentTime();
}