/* -----BEGIN PGP SIGNED MESSAGE----- */ /** Set Time Zone from args. Tony Dahlman */ /* ** Freeware. Use at your own risk. ** */ /* Revised 98-03-20. "TZcheck.java" - a diagnostic tool */ /* Purpose: 1. List supported zones. */ /* 2. Display current default time and zone. */ /* 3. Show result of setting a new zone, */ /* 4. Show other choices for time zone ID at same offset from GMT.*/ import java.util.*; // Date, TimeZone // implicitly: SimpleTimeZone, GregorianCalendar import java.text.*; // DateFormat class TZcheck { private static void checkZone( String tzStr) { // list supported time zones; check for valid command line arg String[] ids = TimeZone.getAvailableIDs(); boolean found = false; for (int i=0; i or or any public PGP key server. -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNTrE1GbsFmrW0oYFAQFHdgP/cpyJ1WwE/HToFa5tGgm5Mclk2rHroIuH KkwvKCPenQf2fV37vtxaT1K5GLAyX0EXSggQAndzUmGGhC7q/GugcDneKPuze20T wpZpJ8XhlaFmUaB4vsc/31Nc2g3XFgjSupGGAohSRNEdNSDXR1R1mOKFX0ekKE/A sM43Ofk1044= =nDj6 -----END PGP SIGNATURE----- */