//Calculating blackForwardVolatility between 10 days after today and 15 days after today with strike as 20
Double forwardVolatility1 = constantVolatility.blackForwardVol(date10.clone(), date15.clone(), 20, true);
System.out.println("BlackForwardVolatility = "+forwardVolatility1);
//Calculating blackForwardVolatility between 20 days after today and 25 days after today with strike as 40
Double forwardVolatility2 = constantVolatility.blackForwardVol(date10.clone(), date15.clone(), 20, true);
System.out.println("BlackForwardVolatility = "+forwardVolatility2);
//Calculating blackForwardVolatility between 27 days after today and 35 days after today with strike as 60
Double forwardVolatility3 = constantVolatility.blackForwardVol(date27.clone(), date35.clone(), 60, true);
System.out.println("BlackForwardVolatility = "+forwardVolatility3);