@Override protected double discountImpl(final double t){
  final double r=zeroYieldImpl(t);
  return Math.exp(-r * t);
}

@ Override protected double discountImpl ( final double t ) { final double r = zeroYieldImpl ( t ) ; return Math . exp ( - r * t ) ; }
returns the discount factor for the given date calculating it from the zero yield .
