|
static int | test (const struct tm *utc, double expected_julian_day, double expected_modified_julian_day, int line) |
|
int | main (void) |
|
Go to the source code of this file.
◆ localtime_r
#define localtime_r |
( |
|
timep, |
|
|
|
result |
|
) |
| memcpy((result), localtime(timep), sizeof(struct tm)) |
◆ SUCCESS
◆ FAIL_JULIAN_DAY
#define FAIL_JULIAN_DAY 1 |
◆ FAIL_MOD_JULIAN_DAY
#define FAIL_MOD_JULIAN_DAY 2 |
◆ FAIL_JULIAN_DATE
#define FAIL_JULIAN_DATE 3 |
◆ FAIL_MOD_JULIAN_DATE
#define FAIL_MOD_JULIAN_DATE 4 |
◆ test()
static int test |
( |
const struct tm * |
utc, |
|
|
double |
expected_julian_day, |
|
|
double |
expected_modified_julian_day, |
|
|
int |
line |
|
) |
| |
|
static |
◆ main()
◆ julian_precision
const REAL8 julian_precision = 1.e-6 |
◆ coarse_precision
const REAL8 coarse_precision = 0.001 |