You may be interested in this http://code.google.com/p/datejs/ When I get a minute, I might write a GWT wrapper for it. Will that wrapper look like Calendar, most likely not. I have a deep hatred for Calendar. It is one of the abominations of Java.
Actually, I think this is why it has not been implemented in GWT. Nobody wanted to touch it.
Do you really need full Calendar support? Or just the functionality of Calendar?
I get by with a combination of Date methods and DateFormatter and code similar to this: http://code.google.com/p/gwt-aux/source/browse/trunk/gwt-aux/src/main/java/com/erinors/gwtaux/shared/util/DateUtils.java?spec=svn254&r=254
Tom
On Sat, Oct 1, 2011 at 2:27 AM, David Given <dg@cowlark.com> wrote:
Thanks, but that doesn't emulate java.util.Calendar.
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ "Under communism, man exploits man. Under capitalism, it's just the
│ opposite." --- John Kenneth Galbrith
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment