Class InstantSourceTLC

java.lang.Object
dev.enola.common.time.InstantSourceTLC
All Implemented Interfaces:
InstantSource

public class InstantSourceTLC extends Object implements InstantSource
InstantSourceTLC is an InstantSource which checks if there is an InstantSource available in the TLC, and otherwise uses the InstantSource.system().

Use this as InstanceSource so that tests can set a fixed Instant.