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

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