Gets the time zone offset, for current date, modified in case of daylight savings. This is the offset to add *to* UTC to get local 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.
|era ||The reference date's era |
|year ||The reference date's year |
|month ||The reference date's month (0-based; 0 is January) |
|day ||The reference date's day-in-month (1-based) |
|dayOfWeek ||The reference date's day-of-week (1-based; 1 is Sunday) |
|millis ||The reference date's milliseconds in day, local standard time |
|monthLength ||The length of the given month in days. |
|status ||Output param to filled in with a success or an error. |
- The offset in milliseconds to add to GMT to get local time. ICU 3.8
Definition at line 1152 of file vtzone.cpp.
return tz->getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status);