-
Bug
-
Resolution: Duplicate
-
P4
-
5.0
-
None
-
generic
-
generic
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
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
- duplicates
-
JDK-4789318 bad html tag in java.util.SimpleTimeZone
-
- Resolved
-