public ClockDisplay(int hour, int minute) { hours = new NumberDisplay(24); minutes = new NumberDisplay(60); SetTime(hour, minute); UpdateDisplay(); }
public ClockDisplay() { hours = new NumberDisplay(24); minutes = new NumberDisplay(60); //seconds = new NumberDisplay(60); UpdateDisplay(); }