Table of Contents

Constructor PrimeTestClock

Namespace
KZDev.PrimeTime.Testing
Assembly
KZDev.PrimeTime.Testing.dll

PrimeTestClock()

Initializes a new instance with virtual time set to the current system instant.

public PrimeTestClock()

PrimeTestClock(Instant)

Initializes a new instance with the specified initial instant and system default zone.

public PrimeTestClock(Instant initialInstant)

Parameters

initialInstant Instant

The initial virtual instant.

PrimeTestClock(Instant, DateTimeZone)

Initializes a new instance with the specified initial instant and time zone.

public PrimeTestClock(Instant initialInstant, DateTimeZone zone)

Parameters

initialInstant Instant

The initial virtual instant.

zone DateTimeZone

The zone used for local "now" values.

Exceptions

ArgumentNullException

zone is null.