2

Today, I'm working on a Java 7 project that needs this type of functionality. If I could use and require Java 8, that would be easiest, but I'm not allowed to use Java 8.

Obviously JSR310 is newer and is pretty stable, but it's not a fully supported third party library. AFAIK, I can manually download a jsr310 .jar that will work fine in Java 7, but it's not really supported and versioned. Is that correct? If that is the case, I should use jodatime for now.

user2684301
  • 2,550
  • 1
  • 24
  • 33
  • Almost 3 years ago but still relevant: http://stackoverflow.com/questions/4622918/should-i-use-threeten-instead-of-joda-time – leonbloy Dec 10 '13 at 15:23

1 Answers1

2

You can download an unofficial Java 7 backport with an API similar to JSR-310. If you're not already familiar with Joda-time, the backport may provide a smoother transition to Java 8. If you are already familiar with Joda-time, use it.

JodaStephen
  • 60,927
  • 15
  • 95
  • 117
jaco0646
  • 15,303
  • 7
  • 59
  • 83