class BillSecurityDiscountingMethod {

  public double priceFromYield(final BillSecurity bill, final double yield) {
    return priceFromYield(bill.getYieldConvention(), yield, bill.getAccrualFactor());
  }

  private  BillSecurityDiscountingMethod();

}