private double convertMaturity ( int maturityInMonths ) { Schedule schedule = fixMetaSchedule . generateSchedule ( referenceDate , maturityInMonths , 12 ) ; return schedule . getFixing ( 0 ) ; }
Convert maturity given as offset in months to year fraction .