Checks if the instant of this date-time is equal to that of the specified date-time.
!(p)
This method differs from the comparison _in {@link #compareTo} and {@link #equals}
_in that it only compares the instant of the date-time. This is equivalent to using
{@code dateTime1.toInstant().equals(dateTime2.toInstant());}.
!(p)
This implementation performs the comparison based on the epoch-second
and nano-of-second.
@param other the other date-time to compare to, not null
@return true if the instant equals the instant of the specified date-time
Checks if the instant of this date-time is equal to that of the specified date-time. !(p) This method differs from the comparison _in {@link #compareTo} and {@link #equals} _in that it only compares the instant of the date-time. This is equivalent to using {@code dateTime1.toInstant().equals(dateTime2.toInstant());}. !(p) This implementation performs the comparison based on the epoch-second and nano-of-second.
@param other the other date-time to compare to, not null @return true if the instant equals the instant of the specified date-time