Re:Node Modules at War: Why CommonJS and ES Modules Can’t Ge...
by Macha on Thursday August 06, 2020 @10:52AM
(#24071421)
Unless you're going to duplicate the logic too, you're still going to have the facade class providing the legacy Joda API that also needs to use the new types to forward onto the new API.
That class doing that transformation will need to refer to both the Joda and java.time class.
That class doing that transformation will need to refer to both the Joda and java.time class.