private void LogTime(object clock, TimeInfoEventArgs timeInfo)
 {
     Console.WriteLine($"Logging {timeInfo.Hour.ToString()} : {timeInfo.Minute.ToString()}");
 }
 public void NewTime(object clock, TimeInfoEventArgs timeInfo)
 {
     Console.WriteLine($"Current time: {timeInfo.Hour.ToString()} " +
                       $": {timeInfo.Minute.ToString()}");
 }
 private void NewTime(object clock, TimeInfoEventArgs timeInfo)
 {
     Console.WriteLine($"Digital display: {timeInfo.Hour.ToString()} : {timeInfo.Minute.ToString()}");
 }