private void DisplayClock(int line, ITime time) { if (time == null) { return; } _display.SetCursorPosition(0, line); _display.Write($"{time.ClockAbbreviation} {time.ToShortString()}"); }
public bool AreEqual(ITime t1, ITime t2) => (t1.ToShortString() == t2.ToShortString());