[threeten-dev] [threeten-develop] Integration with other JDK classes

Richard Warburton richard.warburton at gmail.com
Wed Dec 5 09:46:51 PST 2012


> Would it be feasible to limit all integration with existing APIs to the
> new API itself? I don't really see the need to modify, say,
> java.util.Date. If we provide conversion methods in the new API to
> import/export java.util.Date, that should be sufficient and will not
> change the existing APIs -- which I see as a definite win.
>

When this was discussed before there was a preference expressed to try and
keep the integration code on the old classes.  This has the advantage that
it keeps the new API clean and only people who need to interact with the
old Date and calendar APIs need to see the conversion methods.

regards,

  Richard


More information about the threeten-dev mailing list