oleksii-novikov-onix commented on code in PR #6205:
URL: https://github.com/apache/fineract/pull/6205#discussion_r3758043617
##########
fineract-working-capital-loan/src/main/java/org/apache/fineract/portfolio/workingcapitalloan/domain/WorkingCapitalLoanDelinquencyPauseUtils.java:
##########
@@ -58,6 +58,27 @@ public static LocalDate resolveEffectivePauseEnd(final
WorkingCapitalLoanDelinqu
.map(WorkingCapitalLoanDelinquencyAction::getStartDate).min(Comparator.naturalOrder()).orElse(pauseEnd);
}
+ /**
+ * Extends an inclusive period end date by every recorded pause
overlapping the period, mirroring the pause replay
+ * performed by the schedule rebuild.
+ */
+ public static LocalDate extendToDateByRecordedPauses(final LocalDate
fromDate, final LocalDate baseToDate,
Review Comment:
I think this is a degradation, not a deliberate difference. I will fix it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]