Required C++ (Rogue Wave Tools.h++ library) Update Needed For Daylight Saving Time Changes |
|
| Category : | Availability |
| Release Phase : | Resolved |
| Product : | Sun Studio 11 Sun Studio 8 Sun Studio 9 Sun Studio 10 Forte Developer 6 update 2 Software
|
| Bug Id : | 6433174
|
| Date of Resolved Release : | 18-DEC-2006
|
Impact
Many countries around the world have been incrementally implementing legislation to change their Daylight Saving Time (DST) dates and their time zone definitions.
As these changes come into force in each country, it may impact your C++ code if you are currently using the Sun C++ date and time calculation classes: RWDate, RWTime, RWZoneSimple. These classes are included in the Rogue Wave Tools.h++ library.
Contributing Factors
This issue can occur in the following releases:
SPARC Platform
x86 Platform
Notes:
- There is no release of Forte Developer 7 for the x86 Platform.
- Earlier compiler releases that may be affected (which are EOL, EOSL or unsupported) will not be evaluated regarding the potential impact of this issue.
Symptoms
Unless the DST rules are updated, date and time calculations may return incorrect results since times will be stored and manipulated based on the dates for DST start and end that were valid prior to the rule change.
Workaround
There is no workaround for this issue. Please see the Resolution section below.
Resolution
This issue is addressed in the following releases:
SPARC Platform
- Forte Developer 6 (U2) with patch 111685-24 or later
- Forte Developer 7 with patch 111715-18 or later
- Sun Sun Studio 8 with patch 113817-19 or later
- Sun Studio 9 with patch 117549-07 or later
- Sun Studio 10 with patch 117830-09 or later
- Sun Studio 11 with patch 121017-07 or later
x86 Platform
- Sun Studio 6 (FDu2) with patch 111686-24 or later
- Sun Sun Studio 8 with patch 113819-19 or later
- Sun Studio 9 with patch 117550-07 or later
- Sun Studio 10 with patch 117831-09 or later
- Sun Studio 11 with patch 121018-07 or later
To get the updates, you will need to download the current Sun C++ compiler patch which includes the fix for the Rogue Wave Tools.h++ library that comes with the compiler.
Additional Installation Notes:
1. If an application does not use RW Tools.h++ and links to the shared (.so) version of Solaris system libraries, halt the application, apply the appropriate Solaris patches, and restart the application. The application will then have the correct DST adjustments.
2. If an application uses the shared version of librwtool, apply the Sun C++ compiler patch, then update all installations of the application with the new version of librwtool.so.2. Also apply the appropriate Solaris patch to all systems.
3. If an application links the static librwtool.a, apply the Sun C++ compiler patch, re-link the application, and update all installations of the application. Also apply the appropriate Solaris patch to all systems.
Notes:
For more detailed information regarding DST, please see:
General DST Information:
http://www.sun.com/dst
Developer Tools Information and DST Matrix:
http://www.sun.com/bigadmin/hubs/dst/software/#Developer_Products
Solaris DST Information:
http://www.sun.com/bigadmin/hubs/dst/software/#Solaris
Modification HistoryDate: 15-JAN-2007
Date: 15-FEB-2007
15-Feb-2007:
Date: 02-AUG-2007
- Updated Impact, Symptoms, and Resolution sections
AttachmentsThis solution has no attachment