Here you can find the source of getTimeZoneID()
public static String getTimeZoneID()
//package com.java2s; //License from project: LGPL import java.util.*; public class Main { public static String getTimeZoneID() { return TimeZone.getDefault().getID(); }// ww w .j ava 2 s .co m }