Example usage for java.util SimpleTimeZone clone

List of usage examples for java.util SimpleTimeZone clone

Introduction

In this page you can find the example usage for java.util SimpleTimeZone clone.

Prototype

public Object clone() 

Source Link

Document

Returns a clone of this SimpleTimeZone instance.

Usage

From source file:Main.java

public static void main(String args[]) {

    SimpleTimeZone stobj = new SimpleTimeZone(720, "India");
    System.out.println("Origial obj: " + stobj);

    // clone the object
    Object cloneObj = stobj.clone();
    System.out.println("Clone obj: " + cloneObj);
}