JDK-6414459 : Wrong first day of week for Croatian locale
  • Type: Bug
  • Component: globalization
  • Sub-Component: translation
  • Affected Version: 1.4.2
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_2000,windows_xp
  • CPU: x86
  • Submitted: 2006-04-18
  • Updated: 2011-02-16
  • Resolved: 2006-08-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6
1.4.2_17-revFixed 6 b96Fixed
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
Java version number:              1.4.2_07
Java VM version:                  1.4.2_07-b05
tested also with
java.version=1.5.0_05

ADDITIONAL OS VERSION INFORMATION :
os.version=5.2

A DESCRIPTION OF THE PROBLEM :
Calendar.getInstance().getFirstDayOfWeek() returns SUNDAY for HR_HR locale

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
set default locale to HR_HR
get first day of week from Calendar.getInstance()

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
is returning SUNDAY but it should be MONDAY

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
 Locale.setDefault(new Locale("HR", "HR"));
System.out.println("HR_HR = " + Calendar.getInstance().getFirstDayOfWeek());
---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
no workaround

Comments
EVALUATION As per http://unicode.org/cldr/data/common/supplemental/supplementalData.xml and submitter request the first day if monday.
2006-07-28