0

Does java have a standard way of handling GPS Time? What I'm looking for is a standard way of converting between GPST and UTC without needing to track leapseconds myself. It would be nice if this were tracked in a separate library that I could update to every iteration to keep up to date.

John Mercier
  • 1,548
  • 2
  • 19
  • 41

1 Answers1

1

According to the answer here:

No, Java and the unix Epoch ignore leap seconds. They both assume each day has 86,400 seconds.

That same link also has a post from someone that claims to have a Java library (Time4J) that supports leap seconds. Might be worth checking out.

Community
  • 1
  • 1
Justin L
  • 365
  • 2
  • 10