Possible Duplicate:
Java 7 Date/Time API
I've read rumors that Joda Time is slated to be included in Java 7, but am having trouble locating a definitive source for this information. Will Joda Time be included in a future JDK? Please cite your source.
Joda-Time is an API created by joda.org which offers better classes and having efficient methods to handle date and time than classes from java. util package like Calendar, Gregorian Calendar, Date, etc. This API is included in Java 8.0 with the java.
So the short answer to your question is: YES (deprecated).
Correct Option: D. In java 8,we are asked to migrate to java. time (JSR-310) which is a core part of the JDK which replaces joda library project.
Joda-Time provides a comprehensive formatting system. There are two layers: High level - pre-packaged constant formatters. Mid level - pattern-based, like SimpleDateFormat.
Steven Colebourne, the author of Joda time is the spec lead of JSR-310 which aims to provide an alternative to the "old" Calendar/Date classes. While there are some similarities, JSR-310 is not Joda Time per se.
I followed the mailing list for quite some time, but there were quite a few open issues left, so as of now it does not appear as if JSR-310 is going to be included in JDK7.
So for now, if you are in need of a powerful date/time library, there is nothing speaking against Joda Time - even though it will not become "a standard", there will most certainly be no better alternative included in JDK7.
JSR-310 will not be included in JDK 7.
Stephen Colebourne Co-spec lead, JSR-310
Update 2014-10-09: JSR-310 was included in Java SE 8.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With