translate-timezone incorrect for daylight savings time 2008-09 Australia/Sydney

translate-timezone incorrect for daylight savings time 2008-09 Australia/Sydney

book

Article ID: KB0091259

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Problem Description:

----------------------------------
tib:translate-timezone($Start/InputDate, 'Australia/Sydney')

Input Date of 2008-10-07T13:00:00-00:00
results in 2008-10-07T23:00:00+10:00

the correct answer is
2008-10-08T00:00:00+11:00
----------------------------------

Solution:

This is due to the jre not being updated according to changes made to daylight savings date by State of NewSoutWales, Australia.

Sun's updater tool can update the jre with that information.

You can visit following links

-----------------------------
http://java.sun.com/javase/tzupdater_README.html

http://java.sun.com/javase/downloads/index.jsp#timezone
-----------------------------

to get more information about  and download this tool.

This tool would include the changes made by NSW government regarding timezone change from 26 Oct to 5 Oct.

When you run BW, by default you will be using jre described in bwengine.tra

for example:

tibco.env.JVM_LIB_DIR=C:/tibco/jre/1.5.0/bin

The tool is compatible with and will update all versions of Java.

It updates whichever java version it is run with.

For example:

--------------------------------------------------------
C:\tibco\jre\1.5.0\bin&gtjava -version
java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode)

C:\tibco\jre\1.5.0\bin> java -jar "C:\tzupdater.jar" -u

C:\tibco\jre\1.5.0\bin>
--------------------------------------------------------

Issue/Introduction

translate-timezone incorrect for daylight savings time 2008-09 Australia/Sydney