Parsing Time With A Three Letter US Daylight Saving Timezone Acronym, Returns An Incorrect Value, When In A Different Timezone.

(Doc ID 1025511.1)

Last updated on NOVEMBER 07, 2013

Applies to:

Oracle Java CAPS - Version 5.1.0 and later
Information in this document applies to any platform.
****Checked for relevance on 07-Nov-2013****

Symptoms

Parsing a time with a three letter US daylight saving timezone acronym while residing in a different timezone fails to return the correct value.
For example if you try to parse "08:00 EDT" (using SimpleDateFormat for example) in any other timezone apart from America/New_York (e.g. America/Los_Angeles or Europe/London), it will return the value wrong "06:00 PDT", rather than the correct "05:00 PDT".

This applies to DST compliant JDKs as well (e.g. 1.5.0_10 or 1.6.x).

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms