Calendar.get/set(int...) spec does not document behaviour for invalid input

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: docs
    • beta
    • sparc
    • solaris_2.5
    • Verified



      Name: apR10100 Date: 09/20/2000



      Calendar.get/set(int...) spec does not document behaviour for invalid input

      1.4 api spec only states:
      "public final int get(int field)
      Gets the value for a given time field.
      Parameters:
      field - the given time field.
      Returns:
      the value for the given time field.
      "
      and
      "public final void set(int field, int value)
      Sets the time field with the given value.
      Parameters:
      field - the given time field.
      value - the value to be set for the given time field.
      "

      Handling of invalid field parameter should be specified.

      ======================================================================

            Assignee:
            Jamie Ho (Inactive)
            Reporter:
            Avp Avp (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: