List of usage examples for java.text DateFormat equals
public boolean equals(Object obj)
From source file:Main.java
public static void main(String args[]) { DateFormat df1 = DateFormat.getDateInstance(); DateFormat df2 = DateFormat.getTimeInstance(); System.out.println(df1.equals(df2)); }