-
Bug
-
Resolution: Fixed
-
P4
-
1.4.2
-
b96
-
x86
-
windows_2000, windows_xp
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2140518 | 5.0u12 | Jiri Tusla | P4 | Resolved | Fixed | b01 |
JDK-2201065 | 1.4.2_18 | Abhijit Saha | P4 | Resolved | Fixed | b06 |
JDK-2157732 | 1.4.2_17-rev | Abhijit Saha | P4 | Closed | Fixed | b12 |
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
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
- backported by
-
JDK-2140518 Wrong first day of week for Croatian locale
- Resolved
-
JDK-2201065 Wrong first day of week for Croatian locale
- Resolved
-
JDK-2157732 Wrong first day of week for Croatian locale
- Closed
- duplicates
-
JDK-6609404 First day of the week is Monday in Croatia and not Sunday.
- Closed