IBM Support

IV91318: DATATYPECONVERTER.PRINTDATETIME RETURNS INCORRECT TIMEZONE OFFSET

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • DatatypeConverter.printDateTime  uses
    DataTyepeConverterImpl.formatTimeZone which is manually
    calculating the timeZone offset based on
    TimeZone.useDaylightTime() value. However if the ZoneInfo rule
    is undefined for the timezone the output of
    TimeZone.useDaylightTime() returns incorrect value.
    

Problem conclusion

  • DataTyepeConverterImpl.formatTimeZone has been modified to use
    TimeZone.getOffset() which calculates the offset based on the
    TimeZone.
    .
    This APAR will be fixed in the following Java Releases:
       6 R1 SR8 FP45  (6.1.8.45)
       6    SR16 FP45 (6.0.16.45)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV91318

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-12-07

  • Closed date

    2017-04-04

  • Last modified date

    2017-04-04

  • 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:
04 April 2017