[tz] leap second insertions
Nathan Justus
nathan.justus at oracle.com
Mon Feb 16 14:47:21 UTC 2015
>One additional second is all one needs, no? Two leap seconds are never inserted adjacent to each other. So POSIX's 'struct timespec' suffices to >represent leap seconds, and there's no need for a new data type here, just new operations on the type. You could start by adding a new clock to >clock_gettime, a clock that respects leap seconds.
There has never been more than one leap second added in any one instance, but as far as I know, nothing precludes adding more than one at any one time.
But, I daresay there would be a really significant event that would cause it, such as an asteroid strike that affect the day :)
Nathan
More information about the tz
mailing list