Examples of containsDate()


Examples of org.fenixedu.academic.domain.ExecutionYear.containsDate()

            if (registrationState == null) {
                return false;
            }
            final RegistrationStateType registrationStateType = registrationState.getStateType();
            return (getActive() && registrationStateType.isActive())
                    || (getConcluded() && registrationStateType == RegistrationStateType.CONCLUDED && executionYear
                            .containsDate(registrationState.getStateDate()));
        }

    }
View Full Code Here

Examples of org.fenixedu.academic.domain.ReingressionPeriod.containsDate()

    private boolean hasOpenEnrolmentPeriod(final DegreeCurricularPlan degreeCurricularPlan, final ExecutionYear executionYear,
            final DateTime requestDate) {

        for (final ExecutionSemester executionSemester : executionYear.getExecutionPeriodsSet()) {
            final ReingressionPeriod period = degreeCurricularPlan.getReingressionPeriod(executionSemester);
            if (period != null && period.containsDate(requestDate)) {
                return true;
            }
        }
        return false;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.