<?xml version="1.0" encoding="ISO-8859-1"?> | |
<document> | |
<properties> | |
<title>Java date and time API - Upgrade from 1.2 to 1.2.1</title> | |
<author>Stephen Colebourne</author> | |
</properties> | |
<body> | |
<section name="Upgrade"> | |
<p> | |
These are the release notes and advice for upgrading Joda-Time from | |
version 1.2 to version 1.2.1. | |
<source> | |
Joda-Time version 1.2.1 | |
----------------------- | |
Joda-Time is a date and time handling library that seeks to replace the JDK | |
Date and Calendar classes. | |
This is a patch release for Joda-Time 1.2. | |
This release only contains bug fixes. | |
We recommend all users of 1.2 upgrade to 1.2.1. | |
We recommend JDK 1.3 or later, and have performed no testing on earlier JDKs. | |
Joda-Time is licensed under the business-friendly Apache License Version 2. | |
This is the same license as all of Apache, plus other open source projects such as Spring. | |
The intent is to make the code available to the Java community with the minimum | |
of restrictions. If the license causes you problems please contact the mailing list. | |
** Please also check out the JSP and Hibernate contributed projects ** | |
Incompatible changes since 1.2 | |
------------------------------ | |
Binary compatible - Yes | |
Source compatible - Yes | |
- A bug fix has changed the effect of some toXxx() methods if you use time zones | |
Serialization compatible - Yes | |
Data compatible - Yes | |
- DateTimeZone data updated to version 2006a | |
Deprecations since 1.2 | |
---------------------- | |
- None | |
Bug fixes since 1.2 | |
------------------- | |
- DateTime/DateMidnight/MutableDateTime/AbstractInstant | |
Conversion methods toDateTime, toDateTimeISO, toMutableDateTime, and | |
toMutableDateTimeISO now preserve the time zone. | |
Previously calling any of these four methods would convert the result to | |
the default time zone. This was incorrect. | |
The methods have been changed to preserve the time zone. | |
The similarly named methods on Instant have not changed behaviour. | |
- DateTimeFormatterBuilder.MatchingParser | |
Previously didn't estimate parsed length correctly | |
Enhancements since 1.2 | |
---------------------- | |
- None | |
</source> | |
</p> | |
</section> | |
</body> | |
</document> |