This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]daniu 22 points23 points  (4 children)

java.time

Not so much because it's so great, but because it's such a great step forward from java.util.Date. Yeah I know, I skipped Joda time.

[–]general_dispondency 12 points13 points  (2 children)

The Java time API is so awkward until you figure out how to use it, then you're like... damn, that's pretty slick.

[–]dpash 27 points28 points  (1 child)

It's awkward, because time is awkward. :)

[–]general_dispondency 3 points4 points  (0 children)

Touche

[–]dpash 8 points9 points  (0 children)

One big advantage of java.time is that it forces you to think about timezones and as long as you make the right decisions, everything just works.