|
| 1 | +<?xml version="1.0" encoding="ISO-8859-1"?> |
| 2 | + |
| 3 | +<document> |
| 4 | + <properties> |
| 5 | + <title>Java date and time API - Upgrade from 2.5 to 2.6</title> |
| 6 | + <author>Stephen Colebourne</author> |
| 7 | + </properties> |
| 8 | + |
| 9 | +<body> |
| 10 | + |
| 11 | +<section name="Upgrade"> |
| 12 | +<p> |
| 13 | +These are the release notes and advice for upgrading Joda-Time from version 2.5 to version 2.6. |
| 14 | +<source> |
| 15 | +Joda-Time version 2.6 |
| 16 | +--------------------- |
| 17 | + |
| 18 | +Joda-Time is a date and time handling library that seeks to replace the JDK |
| 19 | +Date and Calendar classes. |
| 20 | + |
| 21 | +This release contains enhancements, bug fixes and a time zone update. |
| 22 | +The release runs on JDK 5 or later. |
| 23 | + |
| 24 | +Joda-Time is licensed under the business-friendly Apache License Version 2. |
| 25 | +This is the same license as all of Apache, plus other open source projects such as Spring. |
| 26 | +The intent is to make the code available to the Java community with the minimum |
| 27 | +of restrictions. If the license causes you problems please contact the mailing list. |
| 28 | + |
| 29 | +** Please also check out our related projects ** |
| 30 | +** http://www.joda.org/joda-time/related.html ** |
| 31 | + |
| 32 | + |
| 33 | +Enhancements since 2.5 |
| 34 | +---------------------- |
| 35 | + |
| 36 | + |
| 37 | +Compatibility with 2.5 |
| 38 | +---------------------- |
| 39 | +Build system - Yes |
| 40 | + |
| 41 | +Binary compatible - Yes |
| 42 | + |
| 43 | +Source compatible - Yes |
| 44 | + |
| 45 | +Serialization compatible - Yes |
| 46 | + |
| 47 | +Data compatible - Yes, except |
| 48 | + - DateTimeZone data updated to version 2014j |
| 49 | + |
| 50 | +Semantic compatible - Yes |
| 51 | + |
| 52 | + |
| 53 | +Deprecations since 2.5 |
| 54 | +---------------------- |
| 55 | + |
| 56 | + |
| 57 | +Bug fixes since 2.5 |
| 58 | +------------------- |
| 59 | +- Handle complex prefix/suffix combinations [#194, #203] |
| 60 | + For example, 'M' for months and 'm' for minutes. |
| 61 | + Parser is generally case insensitive, but handles this specific case sensitivity |
| 62 | + |
| 63 | +- Attempt to tackle an Android deadlock [#196] |
| 64 | + Use dedicated lock objects instead of locking on the class object |
| 65 | + |
| 66 | +- Fix name provider [#176] |
| 67 | + Name provider relied on tzdb short names matching JDK data names |
| 68 | + This has ceased to be true due to recent changes in tzdb, so changed to a different algorithm |
| 69 | + Data returned still depends on the JDK data, not the tzdb |
| 70 | + Thus, tzdb may say AEST for Sydney Australia, but if the JDK still has EST, then that is what you get |
| 71 | + |
| 72 | +- Fix time-zone compilation tests |
| 73 | + |
| 74 | + |
| 75 | +Scala |
| 76 | +-------- |
| 77 | +Joda-Time uses annotations from Joda-Convert. |
| 78 | +In the Java programming language, this dependency is optional, however in Scala it is not. |
| 79 | +Scala users must manually add the Joda-Convert v1.2 dependency. |
| 80 | +</source> |
| 81 | +</p> |
| 82 | +</section> |
| 83 | + |
| 84 | +</body> |
| 85 | +</document> |
0 commit comments