class PeriodAdjustment implements Resolvable<DateAdjuster>, ImmutableBean, Serializable {

  @Override
  public boolean equals(Object obj) {
    if (obj == this) {
      return true;
    }
    if (obj != null && obj.getClass() == this.getClass()) {
      PeriodAdjustment other = (PeriodAdjustment) obj;
      return JodaBeanUtils.equal(period, other.period) &&
          JodaBeanUtils.equal(additionConvention, other.additionConvention) &&
          JodaBeanUtils.equal(adjustment, other.adjustment);
    }
    return false;
  }

  private  PeriodAdjustment(
      Period period,
      PeriodAdditionConvention additionConvention,
      BusinessDayAdjustment adjustment);

}