VirtualClock constructor

VirtualClock(
  1. int seed
)

Construct a clock whose epoch is deterministically derived from seed (stable across platforms: pure integer arithmetic, no wall-clock anchoring).

Implementation

VirtualClock(int seed) : _nowMs = _epochOf(seed), epochMs = _epochOf(seed);