FULL PRODUCT VERSION :
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
The week day name for Saturday in Romanian, as returned by new DateFormatSymbols( new Locale( "ro" ) ).getWeekdays( )[Calendar.SATURDAY] is S��mb?t?. The correct name is S��mb?t?. The error is in the second character, after the capital 'S': it should be �� (\u00e2) instead of �� (\u00ee). This change was introduced in Romania around year 1995.
Also, the first day of the week, as returned by Calendar.getInstance( new Locale( "ro" ) ).getFirstDayOfWeek( ) is SUNDAY. The correct one is MONDAY.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Use the 2 scenarios described above and check the returned values.
EXPECTED VERSUS ACTUAL BEHAVIOR :
The expected weekday name for saturday should be S��mb?t?.
The expected first day of week should be Calendar.MONDAY.
The returned weekday name for saturday was S��mb?t?.
The returned first day of week was Calendar.SUNDAY.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
System.out.print( new DateFormatSymbols( new Locale( "ro" ) ).getWeekdays( )[Calendar.SATURDAY] );
System.out.print( Calendar.getInstance( new Locale( "ro" ) ).getFirstDayOfWeek( ) );
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :