Here you can find the source of getZfgcTimeZoneDateFormat(String timezone)
public static SimpleDateFormat getZfgcTimeZoneDateFormat(String timezone)
//package com.java2s; //License from project: Open Source License import java.text.SimpleDateFormat; import java.util.TimeZone; public class Main { public static SimpleDateFormat getZfgcTimeZoneDateFormat(String timezone) { SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/yyyy z"); sdf.setTimeZone(TimeZone.getTimeZone(timezone)); return sdf; }/*from www . jav a2 s . c om*/ }