#304 Check for SimpleDateFormat with no DateFormatSymbols

open
nobody
Check (274)
5
2012-10-10
2004-06-30
No

Can you add a check for the following?

new SimpleDateFormat("pattern");

it should be

new SimpleDateFormat("pattern", new
DateFormatSymbols(Locale.something);

or

new SimpleDateFormat("pattern", Locale.something);

to prevent i18n problems during runtime in a different
locale.

Discussion


Log in to post a comment.