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

SPEC BUG: java.util.GregorianCalendar unclear standard

XMLWordPrintable



      Name: sdR10048 Date: 10/28/2003


      Filed By : SPB JCK team (###@###.###)
      JDK : java full version "1.5.0-beta-b25"
      JCK : 1.5
      Platform[s] : Solaris
      switch/Mode :
      JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
      Failing Test [s] :
      api/java_util/GregorianCalendar/index.html#Ctor[GregorianCalendar0009]


      Problem description
      ===================
      The spec for designated class says nothing about the standard which it complies
      to. In details behaviour of the methods:
       getFirstDayOfWeek()
       getMinimalDaysInFirstWeek()

      does depend of the current calendar's locale, does depends of the standard
      where the expected resulting days are came from.

      It seems that this class implicitly intended to comply ISO 8601 but this should
      be specified.


      JCK test source location:
      ==========================
      /java/re/jck/1.5/promoted/latest/JCK-runtime-15/tests

      ======================================================================

            okutsu Masayoshi Okutsu
            dsvsunw Dsv Dsv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: