Using JRuby, is there a good way to convert a Java Date object to a JRuby Time object? I am using the latest version of JRuby (1.3.1) and Java SE 6.
This should work fine:
Time.at(java.util.Date.new.getTime/1000)