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

Unclear Calendar API documentation

XMLWordPrintable

    • beta
    • generic
    • generic



      Name: yyT116575 Date: 11/16/2000


      java version "1.3"

      Submitting for Valerie McNabb (###@###.###):

      ***NOTE: This is a documentation bug***

      > It would really help if the fact that MONTH is 0-based was mentioned in
      the
      > documentation for the MONTH field! I have been trying to write a program
      > that extracts the day, month and year from a date and couldn't figure out
      > why I was getting the wrong month when the other 2 values were being
      > returned correctly. After searching the bug reports and finding reference
      > to this, I looked again at the documentation but it only appears to be
      > mentioned in the set method (which unfortunately I wasn't using).
      >
      (Review ID: 112360)
      ======================================================================

            shommel Scott Hommel (Inactive)
            yyoungsunw Yung-ching Young (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: