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

API Documentation Error in SimpleDateFormat

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.1, 1.2.2, 1.3.0
    • core-libs
    • beta
    • generic
    • generic



      Name: rlT66838 Date: 07/23/99


      In the documentation for

      SimpleDateFormat
      http://www.java.sun.com/products/jdk/1.2/docs/api/java/text/SimpleDateFormat.html

      class, there is a bug in the documentation. The first example
      listed using the US Locale states:

      Format Pattern Result
             -------------- -------
             "yyyy.MM.dd G 'at' hh:mm:ss z" ->> 1996.07.10 AD at 15:08:56 PDT


      The 'hh' needs to be capitalized to produced the results shown.
      (Review ID: 88346)
      ======================================================================

            nlindenbsunw Norbert Lindenberg (Inactive)
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: