During an inserted leap second, t-a-i now considers Unix time to stall rather than simply ceasing to exist entirely. This means that tai.oneToOne.atomicToUnix no longer throws an exception when the input TAI instant is during inserted time. Documentation is updated accordingly. This makes it much less likely that code using t-a-i will unexpectedly throw exceptions during future leap seconds.
A few unit tests have been changed and significant new unit tests have been added.
More unit tests have been added to test what I'm calling "Roland Emmerich scenarios" where the rotation of the Earth actually reverses, causing Universal Time (and presumably Unix time) to run in reverse. These are fun edge cases and I plan to add more.
A new note has been added to the README clarifying that updates to the source data when new leap seconds are added will not be considered breaking changes.
t-a-i
now considers Unix time to stall rather than simply ceasing to exist entirely. This means thattai.oneToOne.atomicToUnix
no longer throws an exception when the input TAI instant is during inserted time. Documentation is updated accordingly. This makes it much less likely that code usingt-a-i
will unexpectedly throw exceptions during future leap seconds.