import java.util.*;
import java.util.TimeZone; // this have included after getting error but still no luck :(
public class TestZone {
public static void main(String[] args) {
String[] ids = TimeZone.getAvailableIDs();
if(args != null)
System.out.println("notnull");
for(int i = 0; i < ids.length; i++) {
System.out.println("ID " + i + " " + ids[i]);
}
}
}
|