If you want "JVM forwards compatibility", then use Calendar. If you want "GWT compatibility", then use java.util.Date and ignore the warnings: your code doesn't run in a JVM, what matters is what GWT understands. You can alternatively use JsDate<http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/core/client/JsDate.html> . If you want both, then you can use JodaTime (there's a GWT-compatible port).
But honestly, do you really think java.util.Date will go away before you do some maintenance work on your app? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
