0

Since Java 8 release, it is recommended to migrate to Java Date APIs. We still continue to support Android API level 23, is it advisable to continue using Joda in production?

Varsha Kulkarni
  • 1,389
  • 2
  • 13
  • 17
  • 1
    Opinions will vary, and there are pros and cons. If maintenance includes touching the code currently using Joda-Time, I would consider desugaring and java.time for API levels from 23 and up. – Ole V.V. Jun 17 '22 at 04:37
  • Yes, need to consider the effort it takes for migration there! – Varsha Kulkarni Jun 17 '22 at 07:15

1 Answers1

1

If what you have works then stick with it. Note that Android only supports a subset of the java.time API, and you have to do a bit of setup to get it working at all.

Gavin Wright
  • 3,124
  • 3
  • 14
  • 35