All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.addc.commons.time.TimeSource Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 2.6
Show newest version
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy