Skip to content

[ji] to_time conversion for Java DateTime types#5703

Merged
kares merged 2 commits intojruby:masterfrom
kares:ji-time-conv
Apr 30, 2019
Merged

[ji] to_time conversion for Java DateTime types#5703
kares merged 2 commits intojruby:masterfrom
kares:ji-time-conv

Conversation

@kares
Copy link
Member

@kares kares commented Apr 18, 2019

should be good to go, a further extension would be to have a to_date for Java date types

@kares kares added this to the JRuby 9.2.8.0 milestone Apr 18, 2019
@headius
Copy link
Member

headius commented Apr 26, 2019

@kares This looks fine to me, and I know having stuff in Ruby hurts startup, but I am reluctant to keep adding these extensions in Java. Maybe it's not a huge deal...there's going to be a small number of core JDK types we want to be able to easily roundtrip.

@kares
Copy link
Member Author

kares commented Apr 26, 2019

it wont load on startup, we lazy add these as the Java class gets used. so adding more of these wont hurt startup performance

@kares kares merged commit d526bcd into jruby:master Apr 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants