Date d = calendar.adjust(swap.maturityDate(), BusinessDayConvention.Following);
Weekday w = d.weekday();
Date nextWednesday = w.value() >=4 ? d.add(11 - w.value()) : d.add(4 - w.value());
latestDate = clonedIndex.valueDate(clonedIndex.fixingCalendar().adjust(nextWednesday));
}
/**
* Do not set the relinkable handle as an observer.
* Force recalculation when needed