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

comments of java.util.SimpleTimeZone.{startDay,endDay} for javadoc have inappropriate html tag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 5.0
    • 5.0
    • core-libs
    • None

      Look at the comments for startDay and endDay field in
      java/util/SimpleTimeZone.java:

          /**
      * This field has two possible interpretations:
      * <dl>
      * <dt><code>startMode == DOW_IN_MONTH</code></dt>
      * <dd>
      * <code>startDay</code> indicates the day of the month of
      * <code>startMonth</code> on which daylight
      * saving time starts, from 1 to 28, 30, or 31, depending on the
      * <code>startMonth</code>.
      * </dd>
      * <dt><code>startMode != DOW_IN_MONTH</code></dt>
      * <dd>
      * <code>startDay</code> indicates which <code>startDayOfWeek</code> in th
      * month <code>startMonth</code> daylight
      * saving time starts on. For example, a value of +1 and a
      * <code>startDayOfWeek</code> of <code>Calendar.SUNDAY</code> indicates the
      * first Sunday of <code>startMonth</code>. Likewise, +2 would indicate the
      * second Sunday, and -1 the last Sunday. A value of 0 is illegal.
      * </dd>
      * </ul>
      * <p>If <code>useDaylight</code> is false, this value is ignored.
      * @serial
      */
          private int startDay;

          /**
           * This field has two possible interpretations:
      * <dl>
           * <dt><code>endMode == DOW_IN_MONTH</code></dt>
      * <dd>
           * <code>endDay</code> indicates the day of the month of
      * <code>endMonth</code> on which daylight
      * saving time ends, from 1 to 28, 30, or 31, depending on the
      * <code>endMonth</code>.
      * </dd>
      * <dt><code>endMode != DOW_IN_MONTH</code></dt>
      * <dd>
           * <code>endDay</code> indicates which <code>endDayOfWeek</code> in th
      * month <code>endMonth</code> daylight
      * saving time ends on. For example, a value of +1 and a
      * <code>endDayOfWeek</code> of <code>Calendar.SUNDAY</code> indicates the
      * first Sunday of <code>endMonth</code>. Likewise, +2 would indicate the
      * second Sunday, and -1 the last Sunday. A value of 0 is illegal.
      * </dd>
      * </ul>
      * <p>If <code>useDaylight</code> is false, this value is ignored.
      * @serial
      */
      private int endDay;

      Each <dl> tag is closed with </ul>, not </dl> so the view of API doc below
      startDay and endDay fields are out of alignment.
      See around startDay and endDay fields: http://java.sun.com/j2se/1.5.0/docs/api/serialized-form.html#java.util.SimpleTimeZone

      ###@###.### 2005-03-25 11:34:22 GMT

            nlindenbsunw Norbert Lindenberg (Inactive)
            kurosaki Kenichi Kurosaki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: