Message12024
This was inspired by a question on Github here https://github.com/jythontools/jython/issues/105
The existing Jython datetime supports automatic coercion into java.util.Calendar, java.sql.Timestamp, java.sql.Date and java.sql.Time. See __tojava__ in Lib/datetime.py
Since Java 8 there are new Date and Time classes introduced see http://www.oracle.com/technetwork/articles/java/jf14-date-time-2125367.html
Since these new java.time classes are becoming the standard for handling dates and times in Java it would be nice if Jython supported automatic coercion into these types where appropriate.
Hopefully not to difficult maybe a nice new feature for 2.7.2? |
|
Date |
User |
Action |
Args |
2018-06-27 19:23:48 | jamesmudd | set | recipients:
+ jamesmudd |
2018-06-27 19:23:48 | jamesmudd | set | messageid: <1530127428.53.0.56676864532.issue2695@psf.upfronthosting.co.za> |
2018-06-27 19:23:48 | jamesmudd | link | issue2695 messages |
2018-06-27 19:23:47 | jamesmudd | create | |
|