Again its DateUtil.setInputFormat() you need to call; this changes the input format system-wide.
Your results are as expected given that you changed the display formats for dates but did not modify the input format to match.
Also, read the Internationalization overview - you should not even need to change those formatters, correct formatters (and input format, and decimal separator, etc) are all automatically set if you configure your locale.
Your results are as expected given that you changed the display formats for dates but did not modify the input format to match.
Also, read the Internationalization overview - you should not even need to change those formatters, correct formatters (and input format, and decimal separator, etc) are all automatically set if you configure your locale.
Comment