dain / joda-to-java-time-bridge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

joda-to-java-time-bridge

Maven Central Build Status

Mixed use of Joda-Time and java.time results in two different time zone databases being used at the same time. This inconsistency can lead to incorrect results. For example, operations as simple as casting a zoned date time to a Unix time and back will not round-trip.

joda-to-java-time-bridge makes it possible to mix usages of Joda-Time and java.time without the above problem, by changing Joda-Time to delegate to the time zone database in java.time (the one built into the JVM).

It is expected to work with any reasonable version of Joda-Time.

About

License:Apache License 2.0


Languages

Language:Java 100.0%