private Vorstellung[] gibVorstellungenAnDatum(Kinosaal kino, Datum date, Vorstellung[] vorstellungen) { Film[] noFilm = {new Film("Keine Vorstellung", 100, FSK.FSK0, false)}; Vorstellung[] tagesVorstellung = { new Vorstellung (kino, noFilm[0], new Uhrzeit(15, 0), new Uhrzeit(17,0), date, 0) }; int counter = 0; for (int i = 0; i < (vorstellungen.length - 1); i++) { if (date == vorstellungen[i].gibDatum() && (kino == vorstellungen[i].gibKinosaal())) { tagesVorstellung[counter] = vorstellungen[i]; counter++; } } return tagesVorstellung; }