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

Incorrect javadoc comment for java.sql.Timestamp.toString()

XMLWordPrintable

    • beta
    • generic
    • generic



      Name: bsT130419 Date: 10/09/2001


      Not really relevant - it's wrong in the docs for J2SE1.3 and J2SE1.4 on your
      site.

      Take a look at the toString() method on java.sql.Timestamp

      The docs say that the result is:

      "a String object in yyyy-mm-dd hh:mm:ss.fffffffff format"

      it should read

      "a String object in yyyy-MM-dd hh:mm:ss.fffffffff format"

      (The month is capitalised)

      I'm assuming that the string is from the SimpleDateFormat class. Actually, in
      the docs for the SimpleDateFormat, there is no mention of an 'f' pattern, so
      I'm not sure what the ".fffffffff" part means in the toString documentation.
      (Review ID: 133303)
      ======================================================================

            mfishersunw Maydene Fisher (Inactive)
            bstrathesunw Bill Strathearn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: