Skip to content

Commit

Permalink
Release v2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jodastephen committed Jan 12, 2015
1 parent 8f11578 commit 780f962
Show file tree
Hide file tree
Showing 6 changed files with 114 additions and 17 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -46,11 +46,11 @@ Various documentation is available:


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

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


### Related projects
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -9,7 +9,7 @@
<artifactId>joda-time</artifactId>
<packaging>jar</packaging>
<name>Joda-Time</name>
<version>2.7-SNAPSHOT</version>
<version>2.7</version>
<description>Date and time library to replace JDK date handling</description>
<url>http://www.joda.org/joda-time/</url>

Expand Down
20 changes: 10 additions & 10 deletions src/conf/MANIFEST.MF
Expand Up @@ -2,22 +2,22 @@ Package: org.joda.time
Extension-Name: joda-time
Specification-Title: Joda-Time
Specification-Vendor: Joda.org
Specification-Version: 2.6
Specification-Version: 2.7
Implementation-Vendor: Joda.org
Implementation-Title: org.joda.time
Implementation-Version: 2.6
Implementation-Version: 2.7
Implementation-Vendor-Id: org.joda
Bundle-ManifestVersion: 2
Bundle-Vendor: Joda.org
Bundle-Name: Joda-Time
Bundle-SymbolicName: joda-time
Bundle-Version: 2.6
Export-Package: org.joda.time;version=2.6,
org.joda.time.base;version=2.6,
org.joda.time.chrono;version=2.6,
org.joda.time.convert;version=2.6,
org.joda.time.field;version=2.6,
org.joda.time.format;version=2.6,
org.joda.time.tz;version=2.6
Bundle-Version: 2.7
Export-Package: org.joda.time;version=2.7,
org.joda.time.base;version=2.7,
org.joda.time.chrono;version=2.7,
org.joda.time.convert;version=2.7,
org.joda.time.field;version=2.7,
org.joda.time.format;version=2.7,
org.joda.time.tz;version=2.7
Bundle-License: Apache 2.0
Bundle-DocURL: http://www.joda.org/joda-time/
8 changes: 4 additions & 4 deletions src/site/markdown/index.md
Expand Up @@ -125,21 +125,21 @@ Joda-Time is licenced under the business friendly <a href="license.html">Apache

## <i></i> Releases

[Release 2.6](download.html) is the current latest release.
[Release 2.7](download.html) is the current latest release.
This release is considered stable and worthy of the 2.x tag.
See the [upgrade notes](upgradeto260.html) for full details.
See the [upgrade notes](upgradeto270.html) for full details.

Joda-Time requires Java SE 5 or later and has [no dependencies](dependencies.html).
There is a *compile-time* dependency on [Joda-Convert](http://www.joda.org/joda-convert/),
but this is not required at runtime thanks to the magic of annotations.

Available in [Maven Central](http://search.maven.org/#artifactdetails%7Cjoda-time%7Cjoda-time%7C2.6%7Cjar).
Available in [Maven Central](http://search.maven.org/#artifactdetails%7Cjoda-time%7Cjoda-time%7C2.7%7Cjar).

```xml
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.6</version>
<version>2.7</version>
</dependency>
```

Expand Down
1 change: 1 addition & 0 deletions src/site/xdoc/installation.xml
Expand Up @@ -22,6 +22,7 @@ of the source code suitable for linking to the jar file in IDEs such as Eclipse.
<p>
The release notes for upgraders can be found here:
<ul>
<li><a href="upgradeto270.html">Version 2.7</a> - upgrade from Version 2.6</li>
<li><a href="upgradeto260.html">Version 2.6</a> - upgrade from Version 2.5</li>
<li><a href="upgradeto250.html">Version 2.5</a> - upgrade from Version 2.4</li>
<li><a href="upgradeto240.html">Version 2.4</a> - upgrade from Version 2.3</li>
Expand Down
96 changes: 96 additions & 0 deletions src/site/xdoc/upgradeto270.xml
@@ -0,0 +1,96 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<document>
<properties>
<title>Java date and time API - Upgrade from 2.6 to 2.7</title>
<author>Stephen Colebourne</author>
</properties>

<body>

<section name="Upgrade">
<p>
These are the release notes and advice for upgrading Joda-Time from version 2.6 to version 2.7.
<source>
Joda-Time version 2.7
---------------------

Joda-Time is a date and time handling library that seeks to replace the JDK
Date and Calendar classes.

This release contains enhancements, bug fixes and a time zone update.
The release runs on JDK 5 or later.

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 our related projects **
** http://www.joda.org/joda-time/related.html **


Enhancements since 2.6
----------------------
- Add DateTime.withDate(LocalDate) and DateTime.withTime(LocalTime) [#213]
This was possible using DateTime.withFields(ReadablePartial) but the new methods are clearer

- Added new system property for time-zone loading [#37]
Added system property "org.joda.time.DateTimeZone.Folder".
If set, then it is treated as a file system folder to load time-zone data from.
The folder is loaded using ZoneInfoProvider and must be the unzipped output of ZoneInfoCompiler.
The default behaviour is unchanged, with default time-zone data included in the jar file.

- Produce jar file without time-zone data [#220]
A second jar file is now located in Maven Central with the classifier "no-tzdb".
This is the same as the main joda-time jar file, except that the tzdb data and ZoneInfoCompiler are omitted.
This is intended for use by Android, but could be used in other environments.
If using this alternative jar, a time-zone system property must be set, either
"org.joda.time.DateTimeZone.Provider" or "org.joda.time.DateTimeZone.Folder".
The default behaviour in the standard jar file is unchanged, with time-zone data included in the jar file.


Compatibility with 2.6
----------------------
Build system - Yes

Binary compatible - Yes

Source compatible - Yes

Serialization compatible - Yes

Data compatible - Yes
- DateTimeZone data still at version 2014j

Semantic compatible - Yes


Deprecations since 2.6
----------------------


Bug fixes since 2.6
-------------------
- Fix Asia/Dhaka time-zone [#208]
Problem caused by time-zone ending at 24:00 on December 31st
Model change as being as 23:59:59.999

- Fix PeriodFormatter.withLocale to operate on word-based formatting [#187, #191]
Previously, PeriodFormatter.withLocale() had no effect on word-based formatting
Now, the locale used when calling PeriodFormat.wordBased(locale) is passed to the PeriodFormatter.
In addition, if PeriodFormatter.withLocale(locale) is called, then the word-based pattern will
change to a pattern appropriate for that locale.


Scala
--------
Joda-Time uses annotations from Joda-Convert.
In the Java programming language, this dependency is optional, however in Scala it is not.
Scala users must manually add the Joda-Convert v1.2 dependency.
</source>
</p>
</section>

</body>
</document>

0 comments on commit 780f962

Please sign in to comment.