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

[Fmt-Da] Doc: The behaviour of DateFormat.Field is undefined

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 6
    • core-libs
    • b53
    • x86
    • generic

      The spec for is
      "protected DateFormat.Field(String name,
                                 int calendarField)
          Creates a Field with the specified name. calendarField is used to identify the Calendar field this attribute represents. Use -1 if this field does not have a corresponding Calendar value."
      The behaviour of constructor is undefined when calendarField is not from
      range -1 .. Calendar.FIELD_COUNT (not legal calendar field and not -1).

            svioletsunw Scott Violet (Inactive)
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: