* @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 LocalDateTime) {
      LocalDateTime other = (LocalDateTime) obj;
      return this.date.equals(other.date) && this.time.equals(other.time);
    }
    return false;
  }