How to test effect of tzupdater, once executed ?

We want to be able to see and confirm the effect of the tzupdater after we have used it to update the timezone tables in a jre. We have tried to watch the time output by a java program getting and reporting the time as it transitions the 2:00 AM time on March 11, 2007 (we reset the system clock). We cannot see any effect.

Shouldn't we be able to see the effect this way? If not this way, how?

[408 byte] By [BCScomputersTXa] at [2007-11-26 16:05:59]
# 1
I did the same but did not see any change ...
kbusama at 2007-7-8 22:28:05 > top of Java-index,Desktop,Runtime Environment...
# 2

I did the same test after applying tzupdater on Windows 2000 SP4:

1. Set the system time to 3/11/2007 1:59 AM, when the clock goes past 1:59:59 AM, my test java program shows 3:00 AM. This is what I expect.

2. Set the system time to 11/4/2007 1:59 AM, when the clock goes past 1:59:59 AM, my test java program shows 2:00 AM. Windows says 2:00 AM. This is not what I expect.

How come it appears to work for 3/11/2007 but not 11/4/2007?

fuwa at 2007-7-8 22:28:05 > top of Java-index,Desktop,Runtime Environment...
# 3

The system outwits us mortal humans.

It thinks that, since you are specifying 1:59 AM on 4 November, you surely * must * mean that you want 1:59 AM * PST * instead of 1:59 AM * PDT *. ... :-)

So, to perform this benchmark and get the desired result, you will likely need to set the time to 12:59 AM on 4 November 2007 and then wait * 61 minutes * for it to wind its way through the magic hour.

At least, this is what I had to do to get the desired result on the patches to Solaris itself. I imagine that JRE works exactly the same way.

mark_michaela at 2007-7-8 22:28:05 > top of Java-index,Desktop,Runtime Environment...
# 4

We would like to test the effect of tzupdater - we have a routine to verify what the start and end dates are for a particular time zone but we do not have a routine that will display the time as it changes. Does anyone have a simple java program that will display the time from the java environment that they are willing to share?

terry_da at 2007-7-8 22:28:05 > top of Java-index,Desktop,Runtime Environment...
# 5
Take a look at http://www.theserverside.com/tt/articles/article.tss?l=CountdownDST2007to see if the CheckDST source code satisfies your requirements.
mark_michaela at 2007-7-8 22:28:05 > top of Java-index,Desktop,Runtime Environment...