Java tutorial
//package com.java2s; import java.util.TimeZone; public class Main { public static String timeZoneToString(TimeZone tz) { return tz != null ? tz.getID() : ""; } }