final Handle<YieldTermStructure> termStructure = index_.termStructure();
QL.require(termStructure != null , NULL_TERM_STRUCTURE); // QA:[RG]::verified
final Date today = settings.evaluationDate();
final Date fixing_date = fixingDate();
final IndexManager indexManager = IndexManager.getInstance();
if (fixing_date.lt(today)) {
final double pastFixing = indexManager.get (index_.name()).get(fixing_date);
QL.require(!Double.isNaN(pastFixing), "Missing fixing"); // TODO: message
return pastFixing;
}
if (fixing_date.equals(today)) {