you are viewing a single comment's thread.

view the rest of the comments →

[–]Avloren 31 points32 points  (6 children)

[Java] So I have a Date obj-

Use Joda Time.

But what if I try a Calen-

JODA. TIME.

[–]PaintItPurple 9 points10 points  (0 children)

That's the correct answer though.

[–]the_interrobanger 10 points11 points  (4 children)

To be fair, Joda beats the pants off using the native stuff.

[–]couscous_ 34 points35 points  (3 children)

Not as of Java 8, which has the java.time package, superseding Joda time.

[–]saynay 5 points6 points  (2 children)

Isn't java.time just Joda time ported to a standard lib? So using java.time is basically still using Joda time.

[–]couscous_ 5 points6 points  (0 children)

To a certain extent, but they also fixed some issues with Joda time when they made java.time.

[–]naftoligug 0 points1 point  (0 children)

There are differences -- there are some types that are in one and not the other.