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

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

    XMLWordPrintable

Details

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

    Description

      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).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: