[threeten-dev] [threeten-develop] Integration with other JDK classes
Stephen Colebourne
scolebourne at joda.org
Wed Dec 5 08:31:03 PST 2012
On 5 December 2012 15:49, Christopher Schultz
<chris at christopherschultz.net> wrote:
> It seems to me that the 310 API should be the new standard that
> java.util.Calendar never was: java.util.Calendar didn't really work with
> any existing classes (e.g. java.text.SimpleDateFormat) and so most code
> I see uses Calendar as much as possible but then has to fall-back to
> java.util.Date. If components like java.text.SimpleDateFormat,
> java.sql.PreparedStatement, etc. can support the new classes from 310,
> no changes will need to be made to java.util.Date and java.util.Calendar
> and they can be fully deprecated.
The 310 classes will work directly with JDBC, and they will have their
own new formatter.
Date/Calendar aren't going to be deprecated, so its a case of how much
interoperation to provide. The intention has been to not provide any
reference to the "old" classes from the "new" 310 ones (in the public
API).
Stephen
More information about the threeten-dev
mailing list