* @return true if this is equal to the other date
   */
  @Override
  public boolean equals(Object obj) {

    if (this == obj) {
      return true;
    }
    if (obj instanceof OffsetDate) {
      OffsetDate other = (OffsetDate) obj;
      return this.date.equals(other.date) && this.offset.equals(other.offset);
    }
    return false;
  }