schedule.date(putLength[j])));
}
// Assume dividends are paid every 6 months.
for (final Date d = today.add(new Period(6, TimeUnit.Months)); d.lt(exerciseDate); d.addAssign(new Period(6, TimeUnit.Months))) {
dividends.add(new FixedDividend(1.0, d));
}
final DayCounter dayCounter = new Actual365Fixed();
/*@Time*/ final double maturity = dayCounter.yearFraction(settlementDate,exerciseDate);