Gets the time zone offset, for current date, modified in
case of daylight saving. This is the offset to add *to* UTC to get
local time. Parameters: era - the era of the given date. year - the
year in the given date. month - the month in the given date. Month
is 0-based. e.g., 0 for January. day - the day-in-month of the given
date. dayOfWeek - the day-of-week of the given date. milliseconds
- the milliseconds in day in standard local time.
Parameters |
Description |
n |
Each parameter may represent one of the following:
- the era of the given date
- the year in the given date.
- the month in the given date. Month is 0-based. e.g., 0 for January.
day -
- the day-in-month of the given date.
- the day-of-week of the given date.
- the milliseconds in day in standard local time.
|
Return value |
Description |
int |
The offset to add TO GMT to get local time. |