Returns the TimeZone's adjusted GMT offset (i.e., the number of milliseconds to add to GMT to get local time in this time zone, taking daylight savings time into account) as of a particular reference date. The reference date is used to determine whether daylight savings time is in effect and needs to be figured into the offset that is returned (in other words, what is the adjusted GMT offset in this time zone at this particular date and time?). For the time zones produced by createTimeZone(), the reference data is specified according to the Gregorian calendar, and the date and time fields are local standard time.
Note: Don't call this method. Instead, call the getOffset(UDate...) overload, which returns both the raw and the DST offset for a given time. This method is retained only for backward compatibility.
Referenced by Calendar::computeFields(), Calendar::computeZoneOffset(), getDisplayName(), VTimeZone::getOffset(), SimpleTimeZone::getOffset(), getOffset(), BasicTimeZone::getSimpleRulesNear(), BasicTimeZone::hasEquivalentTransitions(), SimpleDateFormat::parse(), TimeZoneRegressionTest::Test4084933(), TimeZoneRegressionTest::Test4126678(), TimeZoneRegressionTest::Test4154650(), TimeZoneBoundaryTest::TestBoundaries(), TimeZoneTest::TestVariousAPI518(), ucal_getDSTSavings(), and TimeZoneBoundaryTest::verifyDST().