Re: Add support for LocalDate/LocalDateTime

2019-09-28 Thread Axel Howind
Ok, I'll create an RFE and add a pull request. 

On 2019/09/27 15:57:08, Nick Burch  wrote: 
> On Fri, 27 Sep 2019, Axel Howind wrote:
> > since version 4.0.1, POI requires at least Java 8. I suggest adding 
> > support for the new Java Date/Time API introduced with that version of 
> > the JDK, i.e. `Cell.getLocalDateValue()` `Cell.getLocalDateTimeValue()` 
> > and two matching overloads of `Cell.setCellValue()`. What do you think? 
> > If I get positive feedback, I'll probably find the time to submit a 
> > patch after mid october.
> 
> Seems like a useful update to me!
> 
> DateUtil could also potentially use similar methods too
> 
> Thanks
> Nick
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
> For additional commands, e-mail: dev-h...@poi.apache.org
> 
> 

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



Re: Add support for LocalDate/LocalDateTime

2019-09-27 Thread Nick Burch

On Fri, 27 Sep 2019, Axel Howind wrote:
since version 4.0.1, POI requires at least Java 8. I suggest adding 
support for the new Java Date/Time API introduced with that version of 
the JDK, i.e. `Cell.getLocalDateValue()` `Cell.getLocalDateTimeValue()` 
and two matching overloads of `Cell.setCellValue()`. What do you think? 
If I get positive feedback, I'll probably find the time to submit a 
patch after mid october.


Seems like a useful update to me!

DateUtil could also potentially use similar methods too

Thanks
Nick

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



Add support for LocalDate/LocalDateTime

2019-09-27 Thread Axel Howind
Hi,

since version 4.0.1, POI requires at least Java 8. I suggest adding support for 
the new Java Date/Time API introduced with that version of the JDK, i.e. 
`Cell.getLocalDateValue()`  `Cell.getLocalDateTimeValue()` and two matching 
overloads of `Cell.setCellValue()`. What do you think? If I get positive 
feedback, I'll probably find the time to submit a patch after mid october.

Axel


-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org