class SwapIborIborDefinition extends SwapDefinition {

  @Override
  public Swap<Coupon, Coupon> toDerivative(final ZonedDateTime date) {
    final Annuity<Coupon> firstLeg = getFirstLeg().toDerivative(date);
    final Annuity<Coupon> secondLeg = getSecondLeg().toDerivative(date);
    return new Swap<>(firstLeg, secondLeg);
  }

  public  SwapIborIborDefinition(final AnnuityCouponIborSpreadDefinition firstLeg, final AnnuityCouponIborSpreadDefinition secondLeg);

}