Java tutorial
import java.util.SimpleTimeZone; public class Main { public static void main(String args[]) { SimpleTimeZone stobj = new SimpleTimeZone(720, "INDIA"); // get raw offset int offset = stobj.getRawOffset(); // check raw offset value System.out.println("Raw Offset is : " + offset); } }