Thanks, guys, for your feedback. Here's another iteration.
The numbering of NTP seconds in the vicinity of a leap second seems to
differ from one document to another. Here I follow the NTP (version 3)
specification, RFC 1305, in which the Leap Indicator (sys.leap,
peer.leap, pkt.leap) is 01 if a positive leap second is to occur at the
end of the current UTC day, and 00 if no leap second is pending.
UTC = 2005-12-31 23:59:59, NTP seconds = 3 345 062 399, LS_pending = 01
UTC = 2005-12-31 23:59:60, NTP seconds = 3 345 062 400, LS_pending = 01
UTC = 2006-01-01 00:00:00, NTP seconds = 3 345 062 400, LS_pending = 00
--
James Maynard
Salem, Oregon, USA
Received on Fri Feb 03 2006 - 15:40:14 PST