class CapFloorInflationZeroCouponInterpolationDefinition extends CouponInflationDefinition implements CapFloor {

  @Override
  public CapFloorInflationZeroCouponInterpolation toDerivative(final ZonedDateTime date) {
    throw new OpenGammaRuntimeException("a time serie is needed");
  }

  public  CapFloorInflationZeroCouponInterpolationDefinition(final Currency currency, final ZonedDateTime paymentDate, final ZonedDateTime accrualStartDate,
      final ZonedDateTime accrualEndDate, final double paymentYearFraction, final double notional, final IndexPrice priceIndex, final ZonedDateTime lastKnownFixingDate,
      final int conventionalMonthLag, final int monthLag, final int maturity, final ZonedDateTime[] referenceStartDates, final ZonedDateTime[] referenceEndDates, final double weight,
      final double strike, final boolean isCap);

}