java.util.SimpleTimeZone.toString() 方法


java.util.SimpleTimeZone.toString() 方法

package com.codingdict;

import java.util.*;

public class SimpleTimeZoneDemo {
   public static void main( String args[] ) {

      // create simple time zone object
      SimpleTimeZone stobj = new SimpleTimeZone(820,"US");

      // get string value of time zone     
      System.out.println("String value is : " + stobj.toString());
   }      
}