Java tutorial
import java.util.TimeZone; public class Main { public static void main(String[] args) { String[] ids = TimeZone.getAvailableIDs(); for (String id : ids) { System.out.println(id); } } }