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

(cal) API: add() and roll() methods throws IllegalArgumentException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 1.4.0
    • core-libs
    • None
    • Fix Understood
    • b20
    • generic
    • generic

      The add and roll methods in GregorianCalendar calls complete() before performing the operation. It may throw IllegalArgumentException if it's non-lenient and has any out of range calendar field value. This behavior must be documented in Calendar.

      ###@###.### 2002-09-04

            jlu Justin Lu
            okutsu Masayoshi Okutsu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: