Here you can find the source of codeToTimeZone(String tzString)
public static TimeZone codeToTimeZone(String tzString)
//package com.java2s; //License from project: Open Source License import java.util.TimeZone; public class Main { public static TimeZone codeToTimeZone(String tzString) { return stringToTimeZone(tzString); }/*w ww . j av a2s .c o m*/ public static TimeZone stringToTimeZone(String tzString) { return TimeZone.getTimeZone(tzString != null ? tzString : ""); } }