-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
5.0
-
generic
-
generic
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
======================================================================
- duplicates
-
JDK-8169480 Inconsistencies across Format class hierarchy in their API spec and actual implementation of Exceptions
-
- Closed
-