• Korea Standard Time (KST), UTC +9
  • 无夏令时,全年 UTC 偏移量不变

 

Asia/Seoul
        Calendar cd = Calendar.getInstance();
        SimpleDateFormat sdf = new SimpleDateFormat(
                "EEE d MMM yyyy HH:mm:ss 'GMT'");
//        sdf.setTimeZone(TimeZone.getTimeZone("Asia/Seoul")); // 设置时区为GMT
        sdf.setTimeZone(TimeZone.getTimeZone("Asia/Kuala_Lumpur")); // 设置时区为GMT
        
        String str = sdf.format(cd.getTime());
        System.out.println(str);