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

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