ausgabe angepasst
This commit is contained in:
parent
536d7fe1fb
commit
bf8cf182db
Binary file not shown.
@ -8,12 +8,17 @@ public class Execute {
|
||||
public static void main(String[] args) {
|
||||
|
||||
Data data = new Data("menue.txt");
|
||||
|
||||
ArrayList<Menue> menue = data.readMenue();
|
||||
String[]tage = {"Montag","Dienstag", "Mittwoch", "Donnerstag", "Freitag"};
|
||||
for (Menue m : menue) {
|
||||
|
||||
System.out.println(m);
|
||||
for (int i = 0; i < menue.size(); i++) {
|
||||
if (i % 4 == 0) {
|
||||
System.out.println();
|
||||
System.out.println("--------------------------------------");
|
||||
System.out.println(GeneralMethods.getDayNumberNew(menue.get(i).getDate()));
|
||||
System.out.println(menue.get(i).getDate());
|
||||
System.out.println();
|
||||
}
|
||||
System.out.println(menue.get(i));
|
||||
}
|
||||
|
||||
System.out.println("a: Eier; b: Soja, c: Milch; d: Erdnüsse; e: Weichtiere; f: Krebstiere; g: Getreide; h: Senf\n"
|
||||
|
Loading…
Reference in New Issue
Block a user