Constructor PrimeTestClock
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
initialInstantInstantThe 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
initialInstantInstantThe initial virtual instant.
zoneDateTimeZoneThe zone used for local "now" values.
Exceptions
- ArgumentNullException
zoneisnull.