On 21/05/2015 12:25 PM, Stefan Ram wrote:
> Sylvia Else <syl...@not.at.this.address> writes:
>> As for abandoning leap seconds, that's all very well. We could tolerate
>> a 3 minute offset in 2100, but sometime thereafter people would have to
>> deal with a significant adjustment if the offset wasn't to become
>> unreasonably large. It would be typical example of leaving a problem for
>> our descendants to deal with, rather than addressing it now.
>
> AFAIK, Oracle refuses to deliver libraries with Java that
> includes leap seconds in the correct manner, because they
> believe that such an API is too difficult for programmers.
> Instead they use a fictitious calendar that does not contain
> leap seconds. So the API is kind of "broken by design".
> However, there are third-party libraries available for Java
> that account for leap seconds (such as Time4J).
>
It appears to me that Time4J also ignores leap seconds.
What constitutes the correct manned for inclusion rather depends on the
specification of your time manipulation functions. For the vast majority
of purposes, leap seconds are an irrelevance.
Sylvia.