Same classes as in Java 8 Date and Time API, but packages have been renamed from java.time
to org.threeten.bp
.
Project ThreeTen :
See also JSR-310 (Date and Time API).
<dependency>
<groupId>org.threeten</groupId>
<artifactId>threetenbp</artifactId>
<version>1.3.1</version>
</dependency>
JDK 6 or 7.
To store JSR-310 classes in a database, you may need to use bindings for Hibernate or JPA.
Have a look at the user type, threeten-jpa or jpaattributeconverters projects for more info.
Source : http://www.threeten.org/