Quiver clock

Move around in time and make your programs testable by abstracting from system clock.

Build Status Coverage Status


API Docs are available.

Clock provides points in time relative to the current point in time, for example: now, 2 days ago, 4 weeks from now, etc. For tesability, use Clock rather than other ways of accessing time, like new DateTime(), so that you can use a fake time function in your tests to control time.