public ClockDisplay() { hours = new numberDisplay(24); minutes = new numberDisplay(60); UpdateDisplay(); }
public ClockDisplay(int hour, int minute) { hours = new numberDisplay(24); minutes = new numberDisplay(60); setTime(hour, minute); }