I am looking for a Java library that handles conversion to/from GPS Time.
GPS Time has an epoch of 6 January 1980, and does not have leap seconds, so it differs from
Can you elaborate on what you are trying to do?
If you are reading data from a GPSr, the NMEA stream should be corrected for the UTC drift according to your quote and confirmed by this.
JSR-310 has classes TAIInstant
and UTCInstant
which would help solve this problem (as GPS time scale is a variation of TAI). These are located in the ThreeTen-Extra project.
This website seems to be doing the conversion on the fly in javascript. link text