GPS Time Representation library

后端 未结 3 1875
谎友^
谎友^ 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: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.

提交回复
热议问题