VirtualClock
constructor(scheduler: TestCoroutineScheduler, startEpochMillis: Long = DEFAULT_START_EPOCH_MILLIS)(source)
Parameters
scheduler
the scheduler that owns virtual time; under runTest, the test's testScheduler.
startEpochMillis
the wall-clock reading at construction, in milliseconds since the Unix epoch; DEFAULT_START_EPOCH_MILLIS (2026-01-01T00:00:00Z) by default.