import java.util.*; public class TimeZoneNameTest { public static void main(String[] args) { if (args.length != 2) { System.out.println("PLease specify the locale and region"); System.exit(1); } TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles"); System.out.println(tz.getDisplayName(new Locale(args[0], args[1]))); } }