Name: yyT116575 Date: 07/09/2001
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
Documentation error: The Java 2 Platform SE has the following explantion in the
Calendar class documentation.
Note: There are certain possible ambiguities in interpretation of certain
singular times, which are resolved in the following ways:
1. 24:00:00 "belongs" to the following day. That is, 23:59 on Dec 31, 1969 <
24:00 on Jan 1, 1970 < 24:01:00 on Jan 1, 1970
There is no such time as 24:00 as 23:59 is the last minute of one day and 00:00
is the first minute of the next day.
the explanation should read as follows.
1. 23:59 is the last minute of the day and 00:00 is the first minute of the
next day. Thus, 23:59 on Dec 31, 1999 < 00:00 on Jan 1, 2000 < 00:01 on Jan 1,
2000.
(Review ID: 127712)
======================================================================
- relates to
-
JDK-4175880 Doc: Error in Calendar class Documentation
-
- Closed
-