Example usage for java.text DateFormat hashCode

List of usage examples for java.text DateFormat hashCode

Introduction

In this page you can find the example usage for java.text DateFormat hashCode.

Prototype

public int hashCode() 

Source Link

Document

Overrides hashCode

Usage

From source file:Main.java

public static void main(String[] argv) throws Exception {
    DateFormat dateFormat = DateFormat.getDateTimeInstance();

    String s = dateFormat.format(new Date());
    System.out.println(dateFormat.hashCode());

}