Skip to content

Commit 60fd89d

Browse files
committed
Release v2.6
1 parent 56e660f commit 60fd89d

File tree

6 files changed

+104
-28
lines changed

6 files changed

+104
-28
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ Various documentation is available:
4646

4747

4848
### Releases
49-
[Release 2.5](http://www.joda.org/joda-time/download.html) is the current latest release.
49+
[Release 2.6](http://www.joda.org/joda-time/download.html) is the current latest release.
5050
This release is considered stable and worthy of the 1.x tag.
5151
It depends on JDK 1.5 or later.
5252

53-
Available in the [Maven Central repository](http://search.maven.org/#artifactdetails|joda-time|joda-time|2.5|jar)
53+
Available in the [Maven Central repository](http://search.maven.org/#artifactdetails|joda-time|joda-time|2.6|jar)
5454

5555

5656
### Related projects

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<artifactId>joda-time</artifactId>
1010
<packaging>jar</packaging>
1111
<name>Joda-Time</name>
12-
<version>2.6-SNAPSHOT</version>
12+
<version>2.6</version>
1313
<description>Date and time library to replace JDK date handling</description>
1414
<url>http://www.joda.org/joda-time/</url>
1515

src/conf/MANIFEST.MF

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@ Package: org.joda.time
22
Extension-Name: joda-time
33
Specification-Title: Joda-Time
44
Specification-Vendor: Joda.org
5-
Specification-Version: 2.5
5+
Specification-Version: 2.6
66
Implementation-Vendor: Joda.org
77
Implementation-Title: org.joda.time
8-
Implementation-Version: 2.5
8+
Implementation-Version: 2.6
99
Implementation-Vendor-Id: org.joda
1010
Bundle-ManifestVersion: 2
1111
Bundle-Vendor: Joda.org
1212
Bundle-Name: Joda-Time
1313
Bundle-SymbolicName: joda-time
14-
Bundle-Version: 2.5
15-
Export-Package: org.joda.time;version=2.5,
16-
org.joda.time.base;version=2.5,
17-
org.joda.time.chrono;version=2.5,
18-
org.joda.time.convert;version=2.5,
19-
org.joda.time.field;version=2.5,
20-
org.joda.time.format;version=2.5,
21-
org.joda.time.tz;version=2.5
14+
Bundle-Version: 2.6
15+
Export-Package: org.joda.time;version=2.6,
16+
org.joda.time.base;version=2.6,
17+
org.joda.time.chrono;version=2.6,
18+
org.joda.time.convert;version=2.6,
19+
org.joda.time.field;version=2.6,
20+
org.joda.time.format;version=2.6,
21+
org.joda.time.tz;version=2.6
2222
Bundle-License: Apache 2.0
2323
Bundle-DocURL: http://www.joda.org/joda-time/

src/site/xdoc/index.xml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,7 @@ public String getBirthMonthText(<a href="apidocs/org/joda/time/LocalDate.html"><
4444
return dateOfBirth.monthOfYear().getAsText(Locale.ENGLISH);
4545
}
4646
</source>
47-
<!--
48-
public boolean isDoubleShift(<a href="apidocs/org/joda/time/LocalTime.html"><b>LocalTime</b></a> startTime, <a href="apidocs/org/joda/time/LocalTime.html"><b>LocalTime</b></a> endTime) {
49-
<a href="apidocs/org/joda/time/Hours.html"><b>Hours</b></a> hoursBetween = <a href="apidocs/org/joda/time/Hours.html"><b>Hours</b></a>.hoursBetween(time1, time2);
50-
return hoursBetween.isGreaterThan(<a href="apidocs/org/joda/time/Hours.html"><b>Hours</b></a>.EIGHT);
51-
}
52-
public boolean isJoinedInLastThreeMonths(<a href="apidocs/org/joda/time/DateTime.html"><b>DateTime</b></a> datetimeJoined) {
53-
<a href="apidocs/org/joda/time/Interval.html"><b>Interval</b></a> last3Months = new <a href="apidocs/org/joda/time/Interval.html"><b>Interval</b></a>(<a href="apidocs/org/joda/time/Months.html"><b>Months</b></a>.THREE, new <a href="apidocs/org/joda/time/DateTime.html"><b>DateTime</b></a>());
54-
return last3Months.contains(datetimeJoined);
55-
}
56-
-->
57-
Version 2.5 was released on 2014-10-03 -
47+
Version 2.6 was released on 2014-12-01 -
5848
<a href="download.html">Download now</a>
5949
</p>
6050
</section>
@@ -140,14 +130,14 @@ Various documentation is available:
140130

141131
<section name="Releases">
142132
<p>
143-
<a href="download.html">Release 2.5</a>
133+
<a href="download.html">Release 2.6</a>
144134
is the current latest release.
145135
This release is an evolution of the 1.x codebase, not a major rewrite.
146136
It is considered stable and worthy of the 2.x tag.
147137
</p>
148138
<p>
149-
Version 2.5 is a bugfix release compatible with version 2.x.
150-
See the <a href="upgradeto250.html">upgrade notes</a> for full details.
139+
Version 2.6 is a bugfix release compatible with version 2.x.
140+
See the <a href="upgradeto260.html">upgrade notes</a> for full details.
151141
</p>
152142
<p>
153143
Version 2.x is almost completely source and binary compatible with version 1.x.
@@ -161,7 +151,7 @@ The main public API will remain backwards compatible for both source and binary
161151
The version number will change to 3.0 to indicate a significant change in compatibility.
162152
</p>
163153
<p>
164-
Available in <a href="http://search.maven.org/#artifactdetails|joda-time|joda-time|2.5|jar">Maven Central</a>.
154+
Available in <a href="http://search.maven.org/#artifactdetails|joda-time|joda-time|2.6|jar">Maven Central</a>.
165155
</p>
166156

167157
<p>

src/site/xdoc/installation.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ of the source code suitable for linking to the jar file in IDEs such as Eclipse.
2222
<p>
2323
The release notes for upgraders can be found here:
2424
<ul>
25+
<li><a href="upgradeto260.html">Version 2.6</a> - upgrade from Version 2.5</li>
2526
<li><a href="upgradeto250.html">Version 2.5</a> - upgrade from Version 2.4</li>
2627
<li><a href="upgradeto240.html">Version 2.4</a> - upgrade from Version 2.3</li>
2728
<li><a href="upgradeto230.html">Version 2.3</a> - upgrade from Version 2.2</li>

src/site/xdoc/upgradeto260.xml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
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

Comments
 (0)