@Override
  public boolean isEqual(ChronoLocalDateTime<?> other) {

    // Do the time check first, it is cheaper than computing EPOCH day.
    return getTime().toNanoOfDay() == other.getTime().toNanoOfDay()
        && getDate().toEpochDay() == other.getDate().toEpochDay();
  }