GPS Time Representation library

后端 未结 3 1869
谎友^
谎友^ 2020-11-30 11:22

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

相关标签:
3条回答
  • 2020-11-30 12:04

    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.

    0 讨论(0)
  • 2020-11-30 12:14

    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.

    0 讨论(0)
  • 2020-11-30 12:15

    This website seems to be doing the conversion on the fly in javascript. link text

    0 讨论(0)
提交回复
热议问题