FINERACT-2232: add income capitalization principal handling and repayment schedule calculations on loans
This commit is contained in:
+6
@@ -310,6 +310,12 @@ public final class DateUtils {
|
||||
return isBeforeBusinessDate(localDate);
|
||||
}
|
||||
|
||||
public static boolean isDateInRangeFromInclusiveToExclusive(final LocalDate fromInclusive, final LocalDate upToNotInclusive,
|
||||
final LocalDate target) {
|
||||
return (DateUtils.isEqual(target, fromInclusive) || DateUtils.isAfter(target, fromInclusive))
|
||||
&& DateUtils.isBefore(target, upToNotInclusive);
|
||||
}
|
||||
|
||||
public static int compare(LocalDate first, LocalDate second) {
|
||||
return compare(first, second, true);
|
||||
}
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ public interface NoteWritePlatformService {
|
||||
|
||||
CommandProcessingResult createNote(JsonCommand command);
|
||||
|
||||
void createLoanNote(Long loanId, String note);
|
||||
void createLoanTransactionNote(Long loanTransactionId, String note);
|
||||
|
||||
CommandProcessingResult updateNote(JsonCommand command);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user