-3
package timetest;
import java.util.TimeZone;
/**
*
* @author techno
*/
public class TimeTest {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
String[] availId = TimeZone.getAvailableIDs();
// checking available Ids
System.out.println("Available Ids are: ");
for (int i=0; i<availId.length; i++){
System.out.println(availId[i]);
System.out.println(TimeZone.getDefault());
}
}
}
你想它的工作已經https://ideone.com/A45yDT – dev
我想這個甲 好傢伙, 我需要它,'輸入代碼here' 此甲'li'st (UTC +05什麼亞洲/加爾各答 (UTC +06:00)亞洲/達卡 (UTC +05:30)亞洲/加德滿都 (UTC +05:30)亞洲/斯里蘭卡 (UTC +08:00)America/los角度 請幫助我 – Techno
@Techno,爲您的問題添加更多細節,目前尚不清楚您面臨的問題 – Chaitanya