Here you can find the source of testSimpleTimeZone()
public static void testSimpleTimeZone()
//package com.java2s; //License from project: Open Source License import java.util.SimpleTimeZone; public class Main { public static void testSimpleTimeZone() { SimpleTimeZone zone = new SimpleTimeZone(-28800000, "America/Los_Angeles"); System.out.println(zone); }/*from w ww .j av a 2 s . c o m*/ }