HP-UX 11i Java tzupdater Release Notes

option does not require the -u option for the update to be
performed. Not needed under normal operating conditions.
-v, --verbose Display detailed messages to stdout.
-bc, --backwardcompatible
Keep backward compatibility with the three-letter
time zone IDs of JDK 1.1. Any time zone IDs that
conflict with the JDK 1.1 time zone IDs will be
removed from the installed time zone data. This
option must be specified with the -u, -f or -t option.
A few time zone IDs in JDK 1.1 and the Olson time zone
database IDs (industry standard IDs) conflict. As of this
release, the conflicting time zone IDs are "EST", "MST",
and "HST". If these IDs are used in your applications,
the -bc option needs to be specified.
-t, --test Runs verification tests only and exits. If the JRE has time
zone data that does not match the one in the tool, the
verification tests report errors and fail. The -f option is
ignored if specified. If the -bc option is specified, any
test cases for time zone IDs that conflict with the JDK 1.1
time zone IDs will be ignored.
Testing the patched JDK/JRE
In addition to the -t option to test the update done, a test case is also provided with the
tool (<tool_dir>/test/TZTest.java). This tests four representative time zones for
US, Canada, Bahamas, and New Zealand changes.
After the Java installation has been patched, run the test case TZTest.java provided
with the tool:
# <patched-JDKJRE>/bin/java TZTest
The test will produce the following output for correctly patched JDK/JRE, and with the
TZ environment variable set to PST8PDT:
-- Default TimeZone Name (TZ) = Pacific Standard Time
-------------Default TZ used for testing : America/Los_Angeles-------------
***US DST START on 11th March 2007 & STOP on 4th Nov 2007***
DST Offset for 10-Mar-2007 12:00:00 - 0(should be 0)
DST Offset for 12-Mar-2007 12:00:00 - 3600000(should be 3600000)
DST Offset for 03-Nov-2007 12:00:00 - 3600000(should be 3600000)
DST Offset for 05-Nov-2007 12:00:00 - 0(should be 0)
-------------Europe/Istanbul tz used for testing : Europe/Istanbul-------------
***Turkey DST START on 31st March 2014 & DST STOP on 26th October 2014 ***
DST Offset for 30-Mar-14 12:00:00 - 0(should be 0)
DST Offset for 1-Apr-14 12:00:00 - 3600000(should be 3600000)
DST Offset for 26-Oct-14 12:00:00 - 3600000(should be 3600000)
DST Offset for 28-Oct-14 12:00:00 - 0(should be 0)
-------------Pacific/Fiji tz used for testing : Pacific/Fiji-------------
***Pacific/Fiji DST STOP on 19th January 2014 & START on 26th October 2014***
DST Offset for 18-Jan-2014 12:00:00 - 3600000(should be 3600000)
DST Offset for 20-Jan-2014 12:00:00 - 0(should be 0)
DST Offset for 25-Oct-14 12:00:00 - 0(should be 0)
DST Offset for 27-Oct-14 12:00:00 - 3600000(should be 3600000)
-------------Europe/Kiev tz used for testing : Europe/Kiev-------------
***Ukraine DST START on 30th March 2014 & DST STOP on 26th October 2014***
DST Offset for 29-Mar-14 12:00:00 - 0(should be 0)
DST Offset for 31-Mar-14 12:00:00 - 3600000(should be 3600000)
8