Article ID: 194768
Article Last Modified on 1/23/2007
APPLIES TO
- Microsoft Software Development Kit for Java 2.02
- Microsoft Software Development Kit for Java 2.02
- Microsoft Software Development Kit for Java 2.01
- Microsoft Java Virtual Machine
- Microsoft ASP.NET 1.0
This article was previously published under Q194768
SYMPTOMS
Errors may occur in calculations involving Daylight Saving Time, or those
involving conversions to and from Universal time ("UTC" or "Greenwich Mean
Time").
Specifically, the starting and ending dates for Daylight Saving Time may
be incorrect. Also, the GMT time zone is treated as though it enters
Daylight Saving Time, when it should not. This affects the java.util.Date
and java.util.Calendar classes, and methods of other classes that may
depend on them.
CAUSE
The java.util.TimeZone and java.util.SimpleTimeZone classes initialized the
GMT time zone incorrectly, and improperly performed calculations
determining Daylight Saving Time.
RESOLUTION
Install a version of the Microsoft virtual machine in which these
problems have been fixed (see STATUS section below).
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug has been corrected in the
Microsoft virtual machine, version 5.00.2829 and later, which can
be found in the Microsoft SDK for Java version 3.0 and later. Please refer
to the References section for more information.
REFERENCES
For more information about Microsoft SDK for Java, visit the following Microsoft Web site:
For the latest Knowledge Base articles and other support information on
Visual J++ and the SDK for Java, see the following pages on the Microsoft
Technical Support site:
Keywords: kbbug kbfix KB194768