Example usage for org.joda.time LocalDate hashCode

List of usage examples for org.joda.time LocalDate hashCode

Introduction

In this page you can find the example usage for org.joda.time LocalDate hashCode.

Prototype

public int hashCode() 

Source Link

Document

Gets a hash code for the instant as defined in ReadablePartial.

Usage

From source file:ca.ualberta.physics.cssdp.dao.type.PersistentLocalDate.java

License:Apache License

@Override
public int hashCode(Object x) throws HibernateException {
    LocalDate ldt = (LocalDate) x;
    return ldt.hashCode();
}