final YearMonthDay totalEndDate = getLastInstallment().getEndDate();
final YearMonthDay totalEndDate = getFirstInstallment().getEndDate();
    private YearMonthDay calculateFullPaymentCodeEndDate() {	final YearMonthDay today = new YearMonthDay();	final YearMonthDay totalEndDate = getLastInstallment().getEndDate();	return today.isBefore(totalEndDate) ? totalEndDate : today.plusMonths(1);    }