GregorianCalendar in GWT 1.6
I got an error in the shell: [ERROR] Line 8: No source code is available for type java.util.GregorianCalendar; did you forget to inherit a required module? What is the deal? Does GregorianCalendar now not work in 1.6??? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: GregorianCalendar in GWT 1.6
Hey Joseph, It looks like GWT doesn't come with an implementation of GregorianCalendar, which would explain the error. Here's the doc for which JRE classes that GWT emulates. http://code.google.com/webtoolkit/doc/1.6/RefJreEmulation.html Hope this helps! On Fri, May 1, 2009 at 12:05 AM, Joseph M duocentill...@gmail.com wrote: I got an error in the shell: [ERROR] Line 8: No source code is available for type java.util.GregorianCalendar; did you forget to inherit a required module? What is the deal? Does GregorianCalendar now not work in 1.6??? -- Alex Rudnick swe, gwt, atl --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: GregorianCalendar in GWT 1.6
GWT Doesnt support this java APi. It's explicit in documentation pages http://code.google.com/intl/fr/webtoolkit/doc/1.6/DevGuideCodingBasics.html#DevGuideDateAndNumberFormat GWT does not provide full emulation for the date and number formatting classes (java.text.DateFormat, java.text.DecimalFormat, java.text.NumberFormat, java.TimeFormat, et cetera). Instead, a subset of the functionality of the JRE classes is provided by com.google.gwt.i18n.client.NumberFormat and com.google.gwt.i18n.client.DateTimeFormat GWT provides the DateTimeFormat class to replace the functionality of the DateFormat and TimeFormat classes from the JRE. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---