List of usage examples for java.util GregorianCalendar hashCode
@Override public int hashCode()
GregorianCalendar
object. From source file:Main.java
public static void main(String[] args) { GregorianCalendar cal = new GregorianCalendar(); // print a hashcode for cal System.out.println(cal.hashCode()); }
From source file:Main.java
public static void main(String[] args) { GregorianCalendar cal = (GregorianCalendar) GregorianCalendar.getInstance(); // print a hashcode for this calendar System.out.println("Hash Code:" + cal.hashCode()); }