final int fixingDays = 3;
final int settlementDays = 3;
final Date todaysDate = calendar.advance(settlementDate, -fixingDays, TimeUnit.Days);
new Settings().setEvaluationDate(todaysDate);
QL.info("Evaluation date: " + todaysDate.weekday() + ", " + todaysDate);
QL.info("Settlement date: " + settlementDate.weekday() + ", " + settlementDate);
// Building of the bonds discounting yield curve