I'm not sure if its a good idea to add a general method which alters the localized pattern. When I had to deal with this case, I called getPatternForStyle and then modified the pattern to ensure the year part had four characters. This method was dropped from the 1.0 release, but it should be back in the 1.3 release.


Sebastien Cesbron wrote:
Hi,

It seems it is not possible with joda to get a short style format
whith 4 digit year. I think this is a jdk limitation but on windows it
could be problematic because regional settings allows you to do so.

I would be great to be able to define year size (2 or 4 digit) on the
formatter. Do yout think this could be integrated in the joda api ?

Thanx

Seb


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642
_______________________________________________
Joda-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/joda-interest



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Joda-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to