Here you can find the source of getDefaultTimeZoneRawOffset()
public static int getDefaultTimeZoneRawOffset()
//package com.java2s; //License from project: Apache License import java.util.*; public class Main { public static int getDefaultTimeZoneRawOffset() { return TimeZone.getDefault().getRawOffset(); }/*from w w w.j a v a 2s. c om*/ }