On Mon, Aug 3, 2009 at 12:12 PM, Mark McBride<[email protected]> wrote:
> Thanks, that makes sense.  Is it an ok general rule that the
> timestamps should be set to
>
> 1) The time that the data to be mutated was generated
> 2) The current system time if the time the data was mutated isn't available

Yes.

> Looking around at code it seems like time 0 is used a lot, which seems
> pretty dangerous.

We do this in test code to make it obviously clock-independent, yes.

-Jonathan

Reply via email to