No Source Code

I want to use the java.util.GregorianCalendar!

But the GWT-Console say me:
[ERROR] Line 5: No source code is available for type java.util.GregorianCalendar; did you forget to inherit a required module?

GregorianCalendar is not part of the GWT JRE Emulation API which means you can’t use it in your GWT code.

Hello,

I have the same requirement. Is there a workaround for that ?

Regards

Guys this is more of a standard GWT question than a SmartGWT specific question.

I don’t think there is a great answer. The GWT team knows it’s an issue and some people are using deprecated methods of java.util.Date while awaiting a better way:
http://code.google.com/p/google-web-toolkit/issues/detail?id=603