Hi there,

I'm embedded Rhino into our application (for end user scripting), and
I'd like to expose some dates into Javascript so that it feels as
native as possible (i.e. they are JS date objects, not
java.util.Date).

Rhino doesn't seem convert the Java date type into the native JS
type.  So only the java date methods are available to the user.

I'm happy to manually instantiate a "native" Javascript object, but
how do I do this from Java?  The NativeDate type is package protected,
and I can't see any obvious way to do this.

Thanks in advance,
Matt
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to