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

Parse behavior of SimpleDateFormat not documented in API spec

XMLWordPrintable

    • 1.2.2
    • generic
    • generic



      Name: skT88420 Date: 04/29/99


      Please see bug 4180453 r.e. SimpleDateFormat's parse behavior when using format "yyyy" with a year string containing less than four digits.

      The response to that bug states, "The API is behaving as specified". The response then goes on to explain that "yyyy" does not represent the minimum number of digits, but that the year will be parsed as a literal number.

      There is no mention of this behavior in the documentation for SimpleDateFormat.
      (Review ID: 57630)
      ======================================================================

            nlindenbsunw Norbert Lindenberg (Inactive)
            skonchad Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: