);
// Other computations
System.out.println("Sample indirect computations (for the floating rate bond): " );
System.out.println( "Yield to Clean Price: " +
floatingRateBond.cleanPrice(floatingRateBond.yield(new Actual360(),Compounding.Compounded,Frequency.Annual),new Actual360(),Compounding.Compounded,Frequency.Annual,settlementDate)
);
System.out.println("Clean Price to Yield: " +
floatingRateBond.yield(floatingRateBond.cleanPrice(),new Actual360(),Compounding.Compounded,Frequency.Annual,settlementDate)
);