if (!subUnit.isActive(currentDate)) { allInactiveSubUnits.add(subUnit); } } return allInactiveSubUnits;
readAndSaveInactiveSubUnits(subUnit, allInactiveSubUnits, currentDate); }  return new ArrayList<Unit>(allInactiveSubUnits);
    public List<Unit> getInactiveSubUnits(Date currentDate) {        List<Unit> allInactiveSubUnits = new ArrayList<Unit>();        for (Unit subUnit : this.getSubUnits()) {            if (!subUnit.isActive(currentDate)) {                allInactiveSubUnits.add(subUnit);            }        }        return allInactiveSubUnits;    }