3 ms·
I agree, it's similar to Joda for Java. Sure, Joda does some things that exist in the standard library, but you can be sure that by using Joda that you're getti
by anothergoogler 8y ago
I agree, it's similar to Joda for Java. Sure, Joda does some things that exist in the standard library, but you can be sure that by using Joda that you're getting it right in all kinds of twisted scenarios you never considered.
- merb 8y agoactually joda is built into java8+ called java.time
- anothergoogler 8y agoThanks for the tip, I had no idea and was still including the dependency.
- rhacker 8y agoIt's not API compatible, so if you use Joda and you're thinking of using java.time, it's going to be a lot of refactoring.
- Freak_NL 8y agoIt's pretty straight forward to migrate from Joda to Java 8's builtin classes though. Just remove the dependency on Joda Time and let the compiler tell you which files to fix. This blog post lists which Java 8 classes replace their Joda Time counterparts: https://blog.joda.org/2014/11/converting-from-joda-time-to-javatime.html https://blog.joda.org/2014/11/converting-from-joda-time-to-j...
- village-idiot 8y agoThe worst is when you’re stuck on older libraries that still use Joda transitively, so you gotta transition to and from joda at the barriers.
- azernik 8y agoWe can only hope moment or at least its API gets similar treatment.