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