Java Date and Time API

A discussion forum for JFreeChart (a 2D chart library for the Java platform).

Java Date and Time API

Postby pminearo » Tue Nov 07, 2017 7:09 pm

I have been searching the forums for any reference to support, or future support, for the Java Date and Time API that came out with Java 8. The only reference I see is this one:

http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=117653&p=180009&hilit=localdatetime#p180009

It may be because of what terms I am using for searching. So, it may be a BCAK problem.
Is there a forum discussion already that talks about this?
If not, does JFree chart support the new Java Date and Time API (ie - ZonedDateTime, LocalDateTime, LocalDate)?
If not, are there plans in the future to support the new API?
pminearo
 
Posts: 3
Joined: Tue Nov 07, 2017 7:00 pm

Re: Java Date and Time API

Postby John Matthews » Tue Nov 07, 2017 8:56 pm

This example uses ZonedDateTime.parse() to read dates from a text file and create a time series chart.
John Matthews
 
Posts: 388
Joined: Wed Sep 12, 2007 3:18 pm

Re: Java Date and Time API

Postby pminearo » Tue Nov 07, 2017 9:30 pm

Thanks for the example.

So, I am assuming there is no support at the moment for the API. However, is there future plans to support the new API?
pminearo
 
Posts: 3
Joined: Tue Nov 07, 2017 7:00 pm

Re: Java Date and Time API

Postby david.gilbert » Tue Nov 07, 2017 11:35 pm

I'd like to make use of the API, but it is a fairly large task so I don't know when it would happen. The two obvious areas for incorporating these classes are the DateAxis (or some replacement) and the TimeSeries classes.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Ask your company to buy the JFreeChart Developer Guide
:idea: Check out other products sold by my company Object Refinery Limited
david.gilbert
JFreeChart Project Leader
 
Posts: 11653
Joined: Fri Mar 14, 2003 10:29 am

Re: Java Date and Time API

Postby pminearo » Wed Nov 08, 2017 12:11 am

Ok. The reason I ask is we are in the process of switching over to the new API. I'll just put in some converters for now.
pminearo
 
Posts: 3
Joined: Tue Nov 07, 2017 7:00 pm


Return to JFreeChart

Who is online

Users browsing this forum: No registered users and 9 guests