http://gwt-code-reviews.appspot.com/181801/diff/1/2
File user/super/com/google/gwt/emul/java/util/Date.java (right):

http://gwt-code-reviews.appspot.com/181801/diff/1/2#newcode27
Line 27: static class JsDate extends JavaScriptObject {
This would be a handy public type. Especially if I could do something
like this without resorting to the violator pattern like I do now (in
code you're about to break, sigh):

Date d = JsDate.create(123456.78).asJavaDate();

I suppose that's a bit circular, but I won't tell if you don't.

http://gwt-code-reviews.appspot.com/181801

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to