|
SatCat5
|
GPS week-number and time-of-week.
The week number is the number of 7-day weeks since the GPS epoch. Each GPS week begins and ends at midnight boundary between Saturday and Sunday.
The time of week (TOW) is the number of milliseconds since the start of the current GPS week. Each week is 604,800,000 milliseconds.
Definition at line 77 of file datetime.h.
#include <datetime.h>
Public Member Functions | |
| GpsTime (const GpsTime &t)=default | |
| GpsTime & | operator= (const GpsTime &t)=default |
| s64 | convert () const |
| Convert to standard form. More... | |
| bool | operator== (const satcat5::datetime::GpsTime &other) const |
| bool | operator< (const satcat5::datetime::GpsTime &other) const |
| bool | operator!= (const satcat5::datetime::GpsTime &other) const |
| void | write_to (satcat5::io::Writeable *wr) const |
| bool | read_from (satcat5::io::Readable *rd) |
Public Attributes | |
| s32 | wkn |
| Week number. | |
| u32 | tow |
| Time of week. | |
|
inline |