|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | + |
| 3 | +<document> |
| 4 | + <properties> |
| 5 | + <title>Java date and time API - Upgrade from 2.9 to 2.9.4</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.8 to version 2.9.4. |
| 14 | +<source> |
| 15 | +Joda-Time version 2.9.4 |
| 16 | +----------------------- |
| 17 | + |
| 18 | +Joda-Time is a date and time handling library that seeks to replace the JDK |
| 19 | +Date and Calendar classes. For Java SE 8 and later, please use java.time instead. |
| 20 | + |
| 21 | +This release contains one bug fix, a time-zone update and some minor internal changes. |
| 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 | + |
| 27 | +** Please also check out our related projects ** |
| 28 | +** http://www.joda.org/joda-time/related.html ** |
| 29 | + |
| 30 | + |
| 31 | +Changes in 2.9.4 |
| 32 | +---------------- |
| 33 | + - DateTimeZone data updated to version 2016d |
| 34 | + |
| 35 | + - Loading time-zone provider now occurs in a priveleged block [#327, #375] |
| 36 | + |
| 37 | + |
| 38 | +Changes in 2.9.3 |
| 39 | +---------------- |
| 40 | + - DateTimeZone data updated to version 2016c |
| 41 | + |
| 42 | + - Make DateTimeUtils.SYSTEM_MILLIS_PROVIDER public [#357] |
| 43 | + |
| 44 | + - Fix bug when adding months at the maximum limits of integer [#361] |
| 45 | + |
| 46 | + - Add Turkish period translations [#364] |
| 47 | + |
| 48 | + |
| 49 | +Changes in 2.9.2 |
| 50 | +---------------- |
| 51 | + - DateTimeZone data updated to version 2016a (version 2.9 had time-zone data 2015g) |
| 52 | + |
| 53 | + - Fix bug in time-zone binary search [#332] |
| 54 | + |
| 55 | + - Minor fixes to code internals [#339, #326, #344, #350, #343] |
| 56 | + |
| 57 | + - Better document behaviour [#325] |
| 58 | + |
| 59 | + |
| 60 | +Changes in 2.9.1 |
| 61 | +---------------- |
| 62 | +- Fix bug introduced by Long.MIN_VALUE and Long.MAX_VALUE changes [#328] |
| 63 | + |
| 64 | + |
| 65 | +Enhancements in 2.9 |
| 66 | +------------------- |
| 67 | +- Faster parsing of time-zone identifiers [#282] |
| 68 | + |
| 69 | +- Added Interval.parseWithOffset(String) [#299, #296] |
| 70 | + Provides a way to parse the fixed offset in an interval string |
| 71 | + |
| 72 | +- Add DateTimeFormatter methods for StringBuilder [#298] |
| 73 | + |
| 74 | +- Add Russian period translations [#320] |
| 75 | + |
| 76 | +- Add Italian period translations [#312] |
| 77 | + |
| 78 | +- Add Czech period translations [#313] |
| 79 | + |
| 80 | +- Clarify that PeriodFormatterBuilder is in an invalid state once built [#309] |
| 81 | + |
| 82 | +- Allow DateTime and Interval to refer to values at Long.MIN_VALUE and Long.MAX_VALUE [#297, #190] |
| 83 | + A DateTime may be created with any millisecond value, however at the very edges there may be |
| 84 | + some undesirable effects, for example always using UTC instead of the time-zone |
| 85 | + |
| 86 | +- Better error message for malformed tzdb files [#319] |
| 87 | + |
| 88 | +- Better error message for interval constructor [#321] |
| 89 | + |
| 90 | + |
| 91 | +Compatibility between 2.8 and 2.9 |
| 92 | +--------------------------------- |
| 93 | +Build system - Yes |
| 94 | + |
| 95 | +Binary compatible - Yes |
| 96 | + |
| 97 | +Source compatible - Yes |
| 98 | + |
| 99 | +Serialization compatible - Yes |
| 100 | + |
| 101 | +Data compatible - Yes |
| 102 | + - DateTimeZone data updated to version 2015g |
| 103 | + |
| 104 | +Semantic compatible - Yes |
| 105 | + |
| 106 | + |
| 107 | +Bug fixes in 2.9 |
| 108 | +---------------- |
| 109 | +- Fixed to handle JDK 8u60 [#288, #291] |
| 110 | + Without this fix, formatting a time-zone will print "+00:00" instead of "GMT" for the GMT time-zone |
| 111 | + |
| 112 | +- Fix parsing of basic form ISO style where year has unnecessary plus sign [#86] |
| 113 | + For example, +20151030 will now be correctly parsed as year 2015. |
| 114 | + |
| 115 | +- Fix overflow bug in intervals [#315] |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | +Scala |
| 120 | +----- |
| 121 | +Joda-Time uses annotations from Joda-Convert. |
| 122 | +In the Java programming language, this dependency is optional, however in Scala it is not. |
| 123 | +Scala users must manually add the Joda-Convert v1.2 dependency. |
| 124 | +</source> |
| 125 | +</p> |
| 126 | +</section> |
| 127 | + |
| 128 | +</body> |
| 129 | +</document> |
0 commit comments