} else {
} else { System.out.println("mealstart nao ta dentro de worked -> entrada dentro do int de refeicao");
    public TimeInterval calculateBreakPeriod() {        TimePoint mealStart = findIntervalStartPointByAttribute(AttributeType.MEAL);        TimePoint mealEnd = findIntervalEndPointByAttribute(AttributeType.MEAL);        if (mealStart.getIntervalAttributes().contains(DomainConstants.WORKED_ATTRIBUTES)) { // se mealStart esta' dentro de worked vamos encontrar o ponto q fecha o worked            AttributeType workedAttribute = mealStart.getIntervalAttributes().intersects(DomainConstants.WORKED_ATTRIBUTES); // saber qual o atributo de worked            // TODO preciso de dizer onde comecar :D            TimePoint workedEndPoint = findIntervalEndPointBetweenPointsByAttribute(mealStart, mealEnd, workedAttribute);            TimePoint workedStartPoint = findWorkedStartPointBetweenPoints(mealStart, mealEnd); // ver se nao houve marcacao antes do final da refeicao            if (workedStartPoint != null) {                return (new TimeInterval(workedEndPoint.getPoint(), workedStartPoint.getPoint()));            } else if (workedEndPoint != null) {                return (new TimeInterval(workedEndPoint.getPoint(), mealEnd.getPoint()));            }        } else { // procurar inicio de worked            TimePoint workedStartPoint = findWorkedStartPointBetweenPoints(mealStart, mealEnd);            if (workedStartPoint != null) {                return (new TimeInterval(mealStart.getPoint(), workedStartPoint.getPoint()));            } else {                return (new TimeInterval(mealStart.getPoint(), mealEnd.getPoint()));            }        }        return null;    }