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

GregorianCalendar.getLeastMaximum() returns wrong values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 5.0
    • 1.4.0
    • core-libs
    • b28
    • generic
    • generic

      GregorianCalendar.getLeastMaximum(DAY_OF_YEAR) always returns 365 which is incorrect in a Julian-to-Gregorian cutover year. WEEK_OF_YEAR and WEEK_OF_MONTH have the same problem.
      ###@###.### 2002-09-09

            okutsu Masayoshi Okutsu
            okutsu Masayoshi Okutsu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: