/*! Expected next coupon: depending on (the bond and) the given date * the coupon can be historic, deterministic or expected in a * stochastic sense. When the bond settlement date is used the coupon * is the already-fixed not-yet-paid one. * * The current bond settlement is used if no date is given. */ public virtual double nextCouponRate(Date settlement = null) { return(BondFunctions.nextCouponRate(this, settlement)); }