size_t snprint_nano_time(char *s, size_t max_len, const NANO_TIME *nt)
Print nano time into string buffer.
A timestamp with nanosecond resolution, but 64 bit size.
Local date and time computed from GPS time.
double nano_time_to_double(const NANO_TIME *p)
Convert a NANO_TIME time to double.
int tm_gps_to_nano_time_64(NANO_TIME_64 *nt, const TM_GPS *tm)
Convert TM_GPS to NANO_TIME_64.
void normalize_nano_time_64(NANO_TIME_64 *nt)
Normalize a NANO_TIME_64 time.
A timestamp with nanosecond resolution.
void str_s_to_nano_time_64(const char *s, NANO_TIME_64 *p)
Set up a NANO_TIME_64 structure from a string with a time in seconds and fractions.
void double_to_nano_time_64(NANO_TIME_64 *p, double d)
Setup a NANO_TIME_64 structure from a time as double.
void str_ms_to_nano_time_64(const char *s, NANO_TIME_64 *p)
Set up a NANO_TIME_64 structure from a string with a time in milliseconds and fractions.
int nano_time_64_to_tm_gps(TM_GPS *tm_gps, const NANO_TIME_64 *nt)
Convert NANO_TIME_64 to TM_GPS.
void double_to_nano_time(NANO_TIME *p, double d)
Setup a NANO_TIME structure from a time provided as double.
double nano_time_64_to_double(const NANO_TIME_64 *p)
Convert a NANO_TIME_64 time to double.
size_t snprint_nano_time_64(char *s, size_t max_len, const NANO_TIME_64 *nt)
Print a normalized NANO_TIME_64 into a string buffer.