Skip to main content
This revision made December 14, 2011 14:22, by Martijn Verburg

JSR 310 - new Date and Time API for Java

The LJC is getting involved in JSR-310 as we believe it's a vital technology for the Java language as software increasingly needs to be date, time and time zone aware in a safe immutable manner.

JSR in a Nutshell

Date and Calendar do not provide adequate functionality for day to day Java developers. JSR-310 addresses this with an implementation based on hard won lessons from JodaTime. For more information on JSR-310 please see the links below and this London Java Community Blog Post

LJC Goals

  1. To assist the threeten project in meeting the Technology Compatibility Kit (TCK) requirements of this JSR, a major milestone to having JSR-310 accepted as part of the Java language.
  2. Promote the ThreeTen implementation and provide pathways for members to get involved in either writing tests on the TCK project or getting involved in the ThreeTen implementation.

LJC Volunteers

We are looking for volunteers within the London Java Community and beyond to help us with our efforts, please contact either of the leads below if you are interested.

Proposed TCK Strategy

  1. Provide a method of running a TCK test suite against an arbitrary jar.
  2. Provide a method of specifying which TestNG tests are part of the TCK.
  3. Specify TestNG tests that are TCK appropriate from the current testsuite.
  4. Write any additional tests that are necessary in order to completely specify the API (It might be the case that this isn't necessary since you already have a lot of tests and test coverage)

Please visit our Getting Started page for more information on how to setup the project, what the core classes in ThreeTen are, how to run the TCK and how to contribute to the TCK test coverage project.

There is a work-allocation table for the proposed TCK contributions on the Volunteering page.

Some Legal information on submitting to the TCK

Please note that to submit work to the JCP you will need to have a JSPA countersigned by your employer for legal reasons. The LJC/JCP is currently working on providing some guidance on this, but until then the full detail is here.

Further links and information

Difference compared to previous revision
<span>** Mathew ** Renjith Nair ** Somay Nakhal ** Vijay<span style="text-decoration:underline;color:green">** Prasannaa </span> '''Proposed TCK Strategy''' # Provide a method of running a TCK test suite against an arbitrary jar.<span>
Please Confirm