I'm trying to parse a date that i get from JavaScript script evaluated with rhino library into java.util.Date, can i convert a org.mozilla.javascript.NativeDate into a java.util.Date ?
If convert NativeDate into a string with the Context.tostring method i get a date in the following format :
Wed Oct 12 2011 16:17:59 GMT+0200 (CEST)
How can i parse this string date representation in to a java.util.Date object ?