Package org.mifosplatform.portfolio.loanproduct.exception

Examples of org.mifosplatform.portfolio.loanproduct.exception.LoanProductDateException


    private void validateInputDates(final JsonCommand command) {
        final LocalDate startDate = command.localDateValueOfParameterNamed("startDate");
        final LocalDate closeDate = command.localDateValueOfParameterNamed("closeDate");

        if (startDate != null && closeDate != null) {
            if (closeDate.isBefore(startDate)) { throw new LoanProductDateException(startDate.toString(), closeDate.toString()); }
        }
    }
View Full Code Here

TOP

Related Classes of org.mifosplatform.portfolio.loanproduct.exception.LoanProductDateException

Copyright © 2018 www.massapicom. 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.