Hi,
I'm for the first time using the new 1.6 DateBox.Format feature and I
wonder why I have to pass a DateBox to the format() and parse()
methods.
The DateBox is used in the parse method to display parsing errors.
I would prefer to let parse() throw an IllegalArgumentException when
parsing fails and catch this exception in the enclosing parseDate()
method. This would clean up the DateBox.Format interface.

If you agree I can provide a tiny patch...

Cheers,
Daniel
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to