Here you can find the source of getTimeZone(String timeZone)
public static TimeZone getTimeZone(String timeZone)
//package com.java2s; import java.util.TimeZone; public class Main { /**//from w ww . j a v a2s .c o m * This is used to indicate the default local time zone. */ public static final String LOCAL_TIME = "LOCAL"; /** * This gets the TimeZone object for the given string. "LOCAL" results * in the default time zone getting returned. */ public static TimeZone getTimeZone(String timeZone) { if (timeZone.equalsIgnoreCase(LOCAL_TIME)) { return TimeZone.getDefault(); } return TimeZone.getTimeZone(timeZone); } }