if(element.getBeginDate().after(start) && element.getEndDate().before(end))
if(element.getBeginDate().before(end) && element.getEndDate().after(start))
    public List readExecutionPeriodsInTimePeriod(Date start, Date end) throws ExcepcaoPersistencia {        List executionPeriods = readAllExecutionPeriod();         List executionPeriodsAux = new ArrayList();                for (Iterator iter = executionPeriods.iterator(); iter.hasNext();) {            ExecutionPeriod element = (ExecutionPeriod) iter.next();            if(element.getBeginDate().after(start) && element.getEndDate().before(end))                executionPeriodsAux.add(element);        }             return executionPeriodsAux;    }