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

Wrong javadoc in java.util.Date#toString(): "61" and right parenthesis

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 8, 11, 17, 22, 23, 24
    • core-libs
    • b10
    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      In java.util.Date#toString(), at the part of the Javadoc where the seconds part is explained, it explicitly says:
      "ss is the second within the minute (00 through 61, as two decimal digits."
      The part "(00 through 61" should be "(00 through 59)". That's the number and de right parenthesis.

      Just a simple one, to be honest. Not important at all, but just letting you know. Thanks in advance.



            pminborg Per-Ake Minborg
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: