Interface ClockFactory

    • Method Detail

      • createClock

        <T> Clock<T> createClock​(java.util.function.Function<java.lang.Long,​T> translator)
        Creates a Clock.
        Parameters:
        translator - Translate the seconds since Epoch to Clock time.
        Returns:
        Clock.