Example usage for org.joda.time LocalDateTime hashCode

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

Introduction

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

Prototype

public int hashCode() 

Source Link

Document

Gets a hash code for the ReadablePartial that is compatible with the equals method.

Usage

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

License:Apache License

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