-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P5
-
Affects Version/s: 1.4.0
-
Component/s: core-libs
-
mantis
-
generic
-
generic
The replacement should be:
-(Calendar.get(Calendar.ZONE_OFFSET) + Calendar.get(DST_OFFSET))/60000
The second example date (Date(96, 5, 1)) is June 1, 1996, not May 1, 1996.
-(Calendar.get(Calendar.ZONE_OFFSET) + Calendar.get(DST_OFFSET))/60000
The second example date (Date(96, 5, 1)) is June 1, 1996, not May 1, 1996.
- relates to
-
JDK-4235206 Doc: java.util.Date.getTimezoneOffset API doc does not match the JLS or the JDK
-
- Closed
-