S++Core systems, human-reviewable
DEMO SOURCE · SPP / APP / PHYRead the book

bankdeposit-scene-previewInterestProduct.spp

bankdeposit/calculation/bankdeposit-scene-previewInterestProduct.spp

Download original file · Bank deposit source contents

1domain bankdeposit;23Scenario serial previewInterestProduct(4    BankDate,5    PeriodEnd,6    InterestCalendar,7    InterestPeriod,8    InterestProduct9) {10    checkBankDate(start);11    checkBankDate(end);12    decodeBankDate(start);13    decodeBankDate(end);14    checkBankDays(start, end, interestCalendar);15    calculateBankDays(start, end, interestCalendar, normal);16    checkInterestPeriod;17    calculateInterestProduct;18}