Simple clock that returns a constant value given during construction. Useful for testing date related functions.