APAR status
Closed as program error.
Error description
While formatting the year pattern, the API SimpleDateFormat.format() gives two digit year value for patterns 'y' and 'yyy'.
Local fix
Problem summary
The Java API specification mentions about the way to format the year patterns. Year:For formatting, if the number of pattern letters is 2, the year is truncated to 2 digits; otherwise it is interpreted as a number. Number: For formatting, the number of pattern letters is the minimum number of digits, and shorter numbers are zero-padded to this amount
Problem conclusion
JDK has been updated to 1)Format year to two digits only when two digit year pattern 'yy' is mentioned. 2)Format year to four digits when the year pattern string contains one, three or four characters. 3)If the year pattern string contains more characters than the full year, the year will be zero padded. . This APAR will be fixed in the following Java Releases: 6 SR10 (6.0.10.0) . Contact your IBM Product's Service Team for these Service Refreshes and Fix Packs. For those running stand-alone, Java maintenance is available from: https://www.ibm.com/developerworks/java/jdk/
Temporary fix
Comments
APAR Information
APAR number
IV64572
Reported component name
JAVA CLASS LIBS
Reported component ID
620700130
Reported release
600
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-09-05
Closed date
2014-09-05
Last modified date
2014-09-05
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
JAVA CLASS LIBS
Fixed component ID
620700130
Applicable component levels
R600 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
05 September 2014