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