class InflationEndMonthRateComputation implements RateComputation, ImmutableBean, Serializable {

  public static InflationEndMonthRateComputation of(
      PriceIndex index,
      double startIndexValue,
      YearMonth referenceEndMonth) {

    return new InflationEndMonthRateComputation(startIndexValue, PriceIndexObservation.of(index, referenceEndMonth));
  }

  private  InflationEndMonthRateComputation(
      double startIndexValue,
      PriceIndexObservation endObservation);

}