Because leap seconds can’t be predicted, Java ignores them entirely. You deal with them by readjusting your computer clocks from precise atomic clocks on the web that know about the leap seconds, then pretending they never happened. For most civil purposes, this suffices. You could not get away with that sloppiness if you were implementing GPS, plotting satellite orbits, or doing astronomy.
GPS uses a SI clock without the leap seconds.
| You can get the freshest copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) | |
| http://mindprod.com/jgloss/leapsecond.html | J:\mindprod\jgloss\leapsecond.html | |
![]() | ||
| Canadian Mind Products | ||
| mindprod.com IP:[65.110.21.43] | ||
| view Blog | Your face IP:[38.107.191.107] | |
| Feedback | You are visitor number 3,225. | |