&& !teacher.getAllLegalRegimensWithoutSpecialSituations(begin,
&& !teacher.getAllLegalRegimensWithoutEndSituations(begin,
    public List<Teacher> getTeachers(Date begin, Date end) {        List<Teacher> teachers = new ArrayList<Teacher>();        List<Employee> employees = this.getWorkingEmployees(begin, end);        for (Employee employee : employees) {            Teacher teacher = employee.getPerson().getTeacher();            if (teacher != null                    && !teacher.getAllLegalRegimensWithoutSpecialSituations(begin,                            end).isEmpty()) {                teachers.add(teacher);            }        }        return teachers;    }