* [ ] Überlappung einer Episode mit einem (gefilterten) JSON_ARRAY -> bool
-> Array filtern
-> aktuelle Episode ggf. aus dem Array entfernen
-> Überlappung bestimmen
-> return true/false
==> Kommunikation ans Projekt: bei allen boolschen Funktionen ist "false" der default-Rückgabewerte bei Fehlern etc.
~ overlap(JSON_ARRAY, index, [{"type":"NSET", "state":"done"}]) -> bool ~
~ overlap(JSON_ARRAY, filter1=[{"type":"NSET", "state":"done"}], filter2=[{"type":"STUD", "state":"done"}]) -> bool ~
~-> keine Episode doppelt~
-> Konzeption und Implementation steht noch aus
[ ] implementiert als overlapEpisodeWithArray() --> hier auch Calendar() nutzen, refactoring
Originally posted by @christian-fr in https://github.com/dzhw/zofar/issues/505#issuecomment-1160470983