for (int loopcoupon = 0; loopcoupon < getPayments().length; loopcoupon++) {
if (!date.isAfter(getNthPayment(loopcoupon).getPaymentDate())) {
resultList.add(((ISDACDSCouponDefinition) getNthPayment(loopcoupon)).toDerivative(date, yieldCurveNames));
}
}
return new ISDACDSPremium(resultList.toArray(new ISDACDSCoupon[resultList.size()]));
}