public static CashFlow previousCashFlow(Bond bond, Date refDate = null) { if (refDate == null) { refDate = bond.settlementDate(); } return(CashFlows.previousCashFlow(bond.cashflows(), false, refDate)); }
public static CashFlow previousCashFlow(Bond bond, Date refDate = null) { if (refDate == null) { refDate = bond.settlementDate(); } return(CashFlows.previousCashFlow(bond.cashflows(), false, refDate)); }