Esempio n. 1
0
 public void WhenIStartTheSystemTimerWithTheHourAndTheMinute(int p0, int p1)
 {
     _systemTimeApi.Start(p0, p1);
     // We wait one second to be sure that the second has been ticked.
     Thread.Sleep(1000);
 }
 /// <summary>
 /// Start the Berlin clock with a custom initialisation of the time.
 /// </summary>
 /// <param name="startHour">Starting hour of the Berlin clock</param>
 /// <param name="startMinute">Starting minute of the Berlin clock</param>
 public void Start(int startHour, int startMinute)
 => _systemTimeApi.Start(startHour, startMinute);