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

Error in doc for SimpleDateFormat ("MMM" vs. "MMMM"?)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • docs
    • beta2
    • generic
    • generic



      Name: krC82822 Date: 07/31/2001


      java version "1.3.0_02" (through 1.4 beta build 65)
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
      Java HotSpot(TM) Client VM (build 1.3.0_02, mixed mode)


      Examine the html in docs\api\java\text\SimpleDateFormat.html from the 1.3
      javadocs. There is a line,
      "EEE, MMM d, ''yy" ->> Wed, July 10, '96
      in the examples section. The evaluation of 'July' for 'MMM' seemed
      inconsistent with the rest of the documentation. In fact, testing shows that
      the 'MMM' token in a SimpleDateFormat initialization string evaluates to 'Jul'
      for today's date, 7/31/01.
      (Review ID: 129147)
      ======================================================================

            jhosunw Jamie Ho (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: