class InflationMonthlyRateComputation implements RateComputation, ImmutableBean, Serializable {

  public static InflationMonthlyRateComputation of(
      PriceIndex index,
      YearMonth referenceStartMonth,
      YearMonth referenceEndMonth) {

    return new InflationMonthlyRateComputation(
        PriceIndexObservation.of(index, referenceStartMonth),
        PriceIndexObservation.of(index, referenceEndMonth));
  }

  private  InflationMonthlyRateComputation(
      PriceIndexObservation startObservation,
      PriceIndexObservation endObservation);

}