In message: <[EMAIL PROTECTED]>
            Ed Davies <[EMAIL PROTECTED]> writes:
: The Java Date class documentation does, at least, show reasonable
: awareness of leap seconds:
: Pity those of us who've been reading this list a little too long
: can pick a few minor holes but it's basically reasonable stuff -
: much better than ignoring leap seconds.

>>     * A second is represented by an integer from 0 to 61; the
>>     values 60 and 61 occur only for leap seconds and even then only
>>     in Java implementations that actually track leap seconds
>>     correctly. Because of the manner in which leap seconds are
>>     currently introduced, it is extremely unlikely that two leap
>>     seconds will occur in the same minute, but this specification
>>     follows the date and time conventions for ISO C.

Followed by:

>>     The values 60 and 61 can only occur on those Java Virtual
>>     Machines that take leap seconds into account.

So they adopted the broken ISO C definitions, but made them optional :-(.


Reply via email to