Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4749528

In Catalonia, first day of week is monday, not sunday

    Details

    • Subcomponent:
    • Resolved In Build:
      mantis
    • CPU:
      x86
    • OS:
      linux
    • Verification:
      Verified

      Description



      Name: nt126004 Date: 09/18/2002


      FULL PRODUCT VERSION :
      (On linux)
      java version "1.4.1-rc"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-rc-b19)
      Java HotSpot(TM) Client VM (build 1.4.1-rc-b19, mixed mode)

      (On Microsoft Windows 95)
      java version "1.4.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
      Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)


      FULL OPERATING SYSTEM VERSION (1):
      Red Hat Linux release 7.2 (Enigma)

      ADDITIONAL OPERATING SYSTEMS (1):
      Kernel 2.4.7-10 on an i686

      FULL OPERATING SYSTEM VERSION (2):
      Microsoft Windows 95

      ADDITIONAL OPERATING SYSTEMS (2):
      4.00.950 B (Spanish)



      A DESCRIPTION OF THE PROBLEM :
      In catalonia, we use Monday as first day of week, as in
      Spain, France, Italy..., not Sunday, as in UK, US,...
      I was finding a government organization which supports that
      Monday shoud be the first day of week, but "they don't know
      what department is".
      Fortunately http://oss.software.ibm.com/cgi-bin/icu/lx/en/?_=ca_ES&
      supports it (and is your reference), although
      parent version sets (wrong) Sunday as first day of week.
      I downloaded and tested 1.4.1 RC, and bug also exists.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Compile and run the enclosed source code.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      Actual results:
      First day of week is 1

      Expected results:
      First day of week is 2


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      import java.util.Calendar;
      import java.util.Locale;

      public class TestLocale {
       public static void main(String[] args) {
         Calendar caCalendar = Calendar.getInstance(new Locale("ca", "ES"));
         System.out.println("First day of week is " + caCalendar.getFirstDayOfWeek());
       }
      }

      ---------- END SOURCE ----------
      (Review ID: 164248)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jtusla Jiri Tusla (Inactive)
                Reporter:
                nthompsosunw Nathanael Thompson (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: