3 ms·
Not 100% sure why this is here, considering its age, but it always struck me as strange that they never did anything with Dates. The stdlib offering for Dates i
by rco8786 3y ago
Not 100% sure why this is here, considering its age, but it always struck me as strange that they never did anything with Dates. The stdlib offering for Dates in Java/JVM environments is atrocious.
- vips7L 3y agojava.util.Date is kind of bad, but java.time.* is pretty good.
- erik_seaberg 3y agoIt helps that Stephen Colebourne, creator of Joda-Time, revisited his own work and designed the new official API.
- kelnos 3y agoNot sure what you mean. java.util.Date is terrible, but the newer java.util.time.* classes are some of the best I've worked with when it comes to datetimes.
- The_Colonel 3y agojava.time is state of the art and has been in Java for 10 years.
- bad_user 3y agoBefore that, Joda-Time was the de facto standard, with `java.time` being a port to the standard library by the same author.
- chipgap98 3y agoThis makes it sound like joda and java.time are the same. They have major differences and java.time fixes a lot of the problems with joda time.
- cies 3y agoThey are in part by the same author. And so is the threeten library that extend the java8 time lib with some useful-but-edgecasey additions.
- The_Colonel 3y agoI use both (Joda in a legacy code base) and the similarity is clear (as the other user pointed out, both designed by the same author).
- paulddraper 3y agoJoda time already did that. (And then it was included in Java 8 in java.time.*)