List of usage examples for java.time LocalDateTime equals
@Override public boolean equals(Object obj)
From source file:Main.java
public static void main(String[] args) { LocalDateTime a = LocalDateTime.now(); System.out.println(a.equals(LocalDateTime.now())); }