public void Freeze(DateTime timeToFreeze) { var frozenTime = !timeZoneInfo.Equals(TimeZoneInfo.Local) ? timeToFreeze.ToLocalTime() : timeToFreeze; ClockManager.Freeze(frozenTime); }
public FreezeClock() { ClockManager.Freeze(); }
public void Freeze() { ClockManager.Freeze(); }
public FreezeClock(DateTime dateTime) { ClockManager.Freeze(dateTime); }