Opened 7 years ago
Last modified 5 years ago
#17925 assigned enhancement
Support leap seconds — at Version 5
| Reported by: | Don-vip | Owned by: | Don-vip |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | date time leap second utc gps sotmfr2019 | Cc: | StephaneP |
Description (last modified by )
RTKLib Positioning Solution File (.pos) support has been added in #17829.
Right now JOSM considers date are expressed in UTC but in fact they're using GPS time.
They currently differ by 18 seconds (number of leap seconds added to UTC since 1980 UTC-GPS synchronization).
It's not easy to support leap seconds in Java because Java date/time classes don't support them.
The only Java libraries that support leap seconds are Time4J and threeten-extra.
Change History (5)
comment:1 by , 7 years ago
| Cc: | added |
|---|
comment:2 by , 7 years ago
| Description: | modified (diff) |
|---|
comment:3 by , 7 years ago
comment:4 by , 7 years ago
| Description: | modified (diff) |
|---|
comment:5 by , 7 years ago
| Description: | modified (diff) |
|---|



It looks like Threeten-extra library support GPS Time too:
https://coderanch.com/t/667087/java/Reconciling-Java-date-time-GPS