private ArrayList<Time_Sheet> getAllConflicts(Time_Sheet ts) throws SQLException{
        ArrayList<Time_Sheet> conflicts = new ArrayList();
        int oldConflictsSize = 0;
        conflicts.add(ts);
        for(int i = 0; i < conflicts.size(); i++){

            for(Time_Sheet tempTs : timeSheetAccess.getConflictingTimeSheets(conflicts.get(i))){
                boolean alreadyIncluded = false;
                
                for(Time_Sheet temporaryTs : conflicts){
                    if(tempTs.getId() == temporaryTs.getId())
                        alreadyIncluded = true;
                }
                if(!alreadyIncluded)
                    conflicts.add(tempTs);
            }
            
        }
        return conflicts;

    }