You can use the GNSSDate class. You can initialize the GNSSDate
using the week number, the number of milliseconds in the week, and the satellite system (e.g. SatelliteSystem.GPS
). Once initialized, you have a method getDate()
which returns an AbsoluteDate
.
final GNSSDate gpsDate = new GNSSDate(2235, 1000.0 * 337003.0, SatelliteSystem.GPS);
final AbsoluteDate epoch = gpsDate.getDate();
For examples, you can also look at the test class of GNSSDate
.
Best regards,
Bryan