Hints & tips
Java time zone computer
The applet below allows you to compute what a date & time in one time zone corresponds to in another time zone. Fill in a date and time in
the top row, and select time zones in the other rows; the display will be updated with every change, to show the date and time in each of the time
Warning: These computations rely on the Java implementation in your browser. Of course, if you find a bug in the
applet itself, please let me know.
The source is tzcomputer.java. It uses some JDK 1.1 features, so may not work on older browsers.
- Netscape 4.04 with Java AWT 1.1 preview release 1.1: ends Summertime in Europe one month too early (27 Sep instead of 25 Oct)
- Ditto: input fields should be limited to 2 or 4 characters, but the beep occurs one character too early and the limit is not enforced.
- Kaffe 1.00 (Linux): changing a text field doesn't trigger an update event.
- Ditto: 2nd and subsequent rows always show current time, as copying calendars apparently doesn't work.
- The failure of the text fields to be limited to 2 or 4 characters is probably due to the fact that Netscape, Microsoft, and Sun's JDK 1.1
all perform the old event model in addition to the new one (in contrast to Kaffe, which only does the new). I may have to override the old event
methods as well...
Bert Bos, i18n
Last updated $Date: 2002/08/30 13:21:09 $