Skip to content
This repository was archived by the owner on Jan 20, 2018. It is now read-only.

FixedClock

hatchan edited this page Mar 28, 2011 · 1 revision

The FixedClock uses the DateTime and DateTimeOffset objects provided the constructor or the properties.

The FixedClock is not usable in a production environment since it always gives the same time objects. This does mean that the FixedClock is usable in unit test, since you provide the time yourself.

  • Production: no
  • Unit test: yes
  • Development: no

Clone this wiki locally