/src/main/java/net/finmath/montecarlo/interestrate/products/SwapLeg.java
final int fixingDate = legSchedule.getFixing( periodIndex) ;
final double fixingDate = legSchedule.getFixing ( periodIndex ) ;
} final Collection<AbstractProductComponent> periods = new ArrayList<>(); for(int periodIndex=0; periodIndex<legSchedule.getNumberOfPeriods(); periodIndex++) { final LocalDateTime referenceDate = LocalDateTime.of(legSchedule.getReferenceDate(), LocalTime.of(0, 0)); final double periodStart = legSchedule.getPeriodStart(periodIndex); final double periodEnd = legSchedule.getPeriodEnd(periodIndex); <extra_id_0> final double paymentDate = legSchedule.getPayment(periodIndex); final double periodLength = legSchedule.getPeriodLength(periodIndex); if(periodLength == 0) { continue; } AbstractIndex coupon;