On 23 nov, 21:11, Stevko <[email protected]> wrote:
> I've setup DateTimeFormat and TimeZone objects within my application
> based on user preferences.
>
> com.google.gwt.i18n.client.DateTimeFormat
> com.google.gwt.i18n.client.TimeZone
>
> How do I set the format for a DateBox ?
>
> DateBox.Format does not allow for the setting of a custom
> format.http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/g...
Yes it does:
myDateBox.setFormat(new DateBox.DefaultFormat
(DateTimeFormat.getFormat("EEEE, MMMM dd, yyyy")));
or you could use your own custom Datebox.Format implementation:
myDateBox.setFormat(new MyCustomDateBoxFormat());
--
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=.