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

getFirstDayOfWeek() not works correctly for Slovak locale

XMLWordPrintable

    • b01
    • x86
    • windows_xp

        FULL PRODUCT VERSION :
        java version "1.5.0_06"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
        Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

        ADDITIONAL OS VERSION INFORMATION :
        MS Windows XP (5.1.2600)

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


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


        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        it should return MONDAY
        ACTUAL -
        returns SUNDAY


        REPRODUCIBILITY :
        This bug can be reproduced always.

              jtusla Jiri Tusla (Inactive)
              ndcosta Nelson Dcosta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: