Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.SimpleTimeZone;

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

        SimpleTimeZone stobj = new SimpleTimeZone(820, "US");

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