I think you will find that you are not alone in your opinion regarding using deprecated methods and that you are in fact in good company.
On Thu, Feb 3, 2011 at 7:35 AM, kkpirri <hkakashisharin...@gmail.com> wrote: > Thank you! JsDate worked perfectly. > > Maybe I am too picky but I don't like using deprecated methods and > neither suppress warning tags. > > Thank you. > > > On 3 feb, 10:17, Thomas Broyer <t.bro...@gmail.com> wrote: > > 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/g...> > > . > > 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 google-web-toolkit@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- *Jeff Schwartz* -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.