Make java.util.Calendar.JANUARY = 1

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P5
    • None
    • Affects Version/s: 1.4.0
    • Component/s: core-libs
    • None

      The

      java.util.Calendar.get (Calendar.MONTH) is used alongwith
      Calendar.get (Calendar.YEAR) and
      Calendar.get (Calendar.DATE).

      While the other two results (Year and Date) are directly usable, since JANUARY to DECEMBER are enumerated from 0 to 11, an incrementation of get (MONTH) output is needed.

      This can be fixed without much of difficulty as it will help the users in ease of use.

            Assignee:
            Masayoshi Okutsu
            Reporter:
            Ra Vijayan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: