#include <cstdint>
Go to the source code of this file.
|
| namespace | GPSTime |
| | GPS system time as receivers stamp their epochs: a week number and the milliseconds into that week.
|
| |
|
| constexpr uint64_t | GPSTime::epochMs (uint32_t week, uint32_t towMs) |
| | Milliseconds since the GPS epoch of towMs into week.
|
| |
| constexpr bool | GPSTime::towAdvances (uint32_t later, uint32_t earlier) |
| | Whether time of week later follows earlier by less than half a week, across the week rollover.
|
| |
|
| constexpr uint32_t | GPSTime::WEEK_MS = 604800000 |
| | Milliseconds in a GPS week; every time of week is below it.
|
| |