Joda-Time successor on schedule

Date and Time API makes it into Java 8

Elliot Bentley
time1

JSR-310 spec lead Stephen Colebourne says that inclusion is a “major step for the project”.

The
Java Date and Time API,
led by Joda-Time creator Stephen Colebourne, has made it into JDK
8. The inclusion is an important step towards public release as
part of Java SE 8, which is due later this year.

JSR-310 (or ‘ThreeTen’ as the project is known internally) is
designed to replace the existing Date and Calendar classes,
incorporating ideas from Colebourne’s Joda-Time. It has become one
of the most anticipated features of Java SE 8, especially after the
delay of modularisation project ‘Jigsaw’.

On the public
ThreeTen mailing list
, Colebourne wrote that it was a “major
step for the project”. He later told JAXenter by email: “The
integration happened in two steps. The first included a complete
set of functionality but still with some real work to do, the
second, which [was] completed last Friday helped complete the
remaining rough edges.”

That’s not to say that the hard work is over. “From now on, the
effort is on bug fixes, tightening the Javadoc/spec and testing,
rather than features or design changes,” he added.

The ThreeTen site provides reference
documentation
to supplement the standard JavaDoc and a backport to JDK 1.7
(albeit with a disclaimer stressing that it is “NOT an official
implementation”).

Colebourne is an outspoken critic of the JCP, the democratic
organisation involved in overseeing the development of the Java
platform. He
described it to JAXenter
as “kind of a fake zombie body”,
despite recent efforts taken by the likes of the London Java
Community to push reform through.

In the same interview, he warned that “JSR-310 aims for
JDK 8,” adding that it is “up to a whole variety of people to
decide on whether they want to accept it or not”. With the API now
available in future JDK 8 milestone builds, it appears his
pessimism was unfounded.

Photo by Alan
Cleaver
.

Author
Comments
comments powered by Disqus