Converting time / DataTime / data to java.util.Calendar?
Is it possible to easily convert JRuby Time / DataTime / Data to java.util.Calendar including timezone?
In #jruby I was presented with code like this cal.set_time_in_millis(time.to_i)
, but I lost my timezone information in between. So the more specific question is how to convert the timezone, but I prefer to ask a broader search in case there is an easier way.
+1
a source to share
2 answers