Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P4
-
Resolution: Duplicate
-
Affects Version/s: 5.0
-
Fix Version/s: None
-
Component/s: core-libs
-
Subcomponent:
-
CPU:generic
-
OS:generic
Description
Name: smR10189 Date: 06/10/2004
The JDK 1.5 spec. doesn't specify behavior for some SimpleDateFormat
methods if null value is passed as parameter.
For the following methods the spec. should be clarified:
1) public SimpleDateFormat(String pattern, Locale locale)
To specify: when 'locale' parameter is null
2) public StringBuffer format(Date date,
StringBuffer toAppendTo,
FieldPosition pos)
To specify: when 'toAppendTo' or 'pos' parameter is null
3) public void set2DigitYearStart(Date startDate)
To specify: when 'startDate' parameter is null
======================================================================
Attachments
Issue Links
- duplicates
-
JDK-8169480 Inconsistencies across Format class hierarchy in their API spec and actual implementation of Exceptions
-
- Closed
-