Does not work - Event list preparing
This commit is contained in:
@@ -2,6 +2,7 @@ package de.sebse.fuplanner.tools;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.Iterator;
|
||||
|
||||
import de.sebse.fuplanner.services.KVV.types.Event;
|
||||
|
||||
@@ -53,4 +54,24 @@ public class EventList extends ArrayList<Event> {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public Iterator<Event> getEventsOfMonth(int year, int month) {
|
||||
if (split < 0)
|
||||
sort();
|
||||
int i = 0;
|
||||
for (; ; i++) {
|
||||
break;
|
||||
}
|
||||
return new Iterator<Event>() {
|
||||
@Override
|
||||
public boolean hasNext() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Event next() {
|
||||
return null;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user