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: KB0090615

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

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

Environment:
=========
Version: 5.9.x        
Hardware: all      
OS: all

Symptoms:
=======
When using the function tib:translate-timezone(<< dateTime >>, << timezone >>), Daylight Saving adjustment works for PST but fails for EST.

Cause:
=====
For compatibility with JDK 1.1.x, some 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.

Resolution:
=======
Use a format such as "America/New_York" for EST and “America/Los_Angeles" for PST.

References:
========
Java docs (http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html)

Issue/Introduction

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