Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320619 - SDODataHelper JavaDoc incorrectly says the JVM default timezone will take effect
Summary: SDODataHelper JavaDoc incorrectly says the JVM default timezone will take effect
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-22 08:32 EDT by Philip Aston CLA
Modified: 2022-06-09 10:29 EDT (History)
1 user (show)

See Also:


Attachments
Patch (802 bytes, patch)
2010-07-22 10:55 EDT, Rick Barkhouse CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Aston CLA 2010-07-22 08:32:38 EDT
Build Identifier: 2.2.0

SDODataHelper says:

    /**
     * The specified TimeZone will be used for all String to date object
     * conversions. By default the TimeZone from the JVM is used.
     */
    public void setTimeZone(TimeZone timeZone) {

This is incorrect. GMT is actually used if the timezone is not specified.

Reproducible: Always
Comment 1 Rick Barkhouse CLA 2010-07-22 10:55:53 EDT
Created attachment 174989 [details]
Patch
Comment 2 Rick Barkhouse CLA 2010-07-22 12:05:20 EDT
Fixed, javadoc now reads:

    /**
     * The specified TimeZone will be used for all String to Date object
     * conversions.  By default the GMT time zone is used.
     */
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:29:40 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink