Example usage for java.util SimpleTimeZone hashCode

List of usage examples for java.util SimpleTimeZone hashCode

Introduction

In this page you can find the example usage for java.util SimpleTimeZone hashCode.

Prototype

public int hashCode() 

Source Link

Document

Generates the hash code for the SimpleDateFormat object.

Usage

From source file:Main.java

public static void main(String args[]) {

    SimpleTimeZone stobj = new SimpleTimeZone(820, "US");

    // get hash code
    int hashcode = stobj.hashCode();

    // check hash code value       
    System.out.println("Hash code is : " + hashcode);
}