[jboss-dev-forums] [Design the new POJO MicroContainer] - AbstractKernelTest and date handling
alesj
do-not-reply at jboss.com
Thu Mar 27 09:06:43 EDT 2008
I've fixed/hacked the problem that's been bugging me from the beginning.
Date handling inside MC was failing for me, since SimpleDateFormat by default takes default Locale.
In my case this is Slovenian locale, but the test inputs day name as Mon, which is of course not recognized by my locale.
I've put Locale.US to every possible place. :-)
Now all the test finally pass for me locally. Yeay.
Since it's date we're really interested in, its parsing/transformation, I don't see an issue in this Locale hack.
Or is it? :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139261#4139261
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139261
More information about the jboss-dev-forums
mailing list