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

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

  private  DaysAdjustment(
      int days,
      HolidayCalendarId calendar,
      BusinessDayAdjustment adjustment);

}