On Fri, 4 Apr 2003, James Strachan wrote:

>
> On Friday, April 4, 2003, at 05:29 PM, robert burrell donkin wrote:
>
> >
> > On Friday, April 4, 2003, at 05:13 PM, James Strachan wrote:
> >
> >>
> >> On Friday, April 4, 2003, at 04:57 PM, Henri Yandell wrote:
> >>>
> >>> Looking at Converters, why is there no UtilDateConverter? Or just
> >>> DateConverter?
> >>>
> >>> Also, why does said converter not take a DateFormat in some way to
> >>> allow
> >>> instance users to be able to allow that to be configurable?
> >>>
> >>> Possibly the Converter API needs an additional argument-list option?
> >>>
> >>> So I can say:
> >>>
> >>> converterBean.convert(java.util.Date.class, "02/02/02", "YY/DD/MM")
> >>
> >> While we're at it, it could be useful to add a Locale to a
> >> ConverterUtilsBean so that converters can be locale-specific.
> >
> > isn't this already covered by LocaleConvertUtilsBean?
>
> Yes - DOH! Forget I mentioned it :)

So once a DateConverter is made, is the 'proper' way to handle the
"YY/DD/MM" style thing to have a custom Locale? Or should I pursue the
idea of optional arguments being settable on converters?

Hen


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to