Three letter time zone abbreviations are deprecated in the translate-timezone() method.

Three letter time zone abbreviations are deprecated in the translate-timezone() method.

book

Article ID: KB0090527

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
Three letter time zone abbreviations are deprecated in the translate-timezone() method.
Symptoms:
When using the function tib:translate-timezone(<< dateTime >>, << timezone >>), Daylight Saving adjustment works for PST but fails to take effect for EST.
Cause:
For compatibility with JDK 1.1.x, some other three letter time zone IDs (such as "PST", "CTT", "AST") are supported. However, this is deprecated because the same abbreviation is often used for multiple time zones (for example, "CST" could be U.S. "Central Standard Time" and "China Standard Time"). The Java platform can only recognize one of them.

Issue/Introduction

Three letter time zone abbreviations are deprecated in the translate-timezone() method.

Resolution

Use a format such as "America/New_York" for EST and “America/Los_Angeles" for PST, etc.


Additional Information

http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html