mirror of https://github.com/ecmwf/eccodes.git
Testing: Julian dates
This commit is contained in:
parent
1eb99c0bf8
commit
e68e56d2aa
|
@ -215,6 +215,9 @@ static void Test4()
|
||||||
static void Test5()
|
static void Test5()
|
||||||
{
|
{
|
||||||
printf("Test5...\n");
|
printf("Test5...\n");
|
||||||
|
|
||||||
|
// Also see function is_date_valid()
|
||||||
|
|
||||||
double jd = 0.0;
|
double jd = 0.0;
|
||||||
long year=2017, month=2, day=29, hour=0, min=0, sec=0; // Feb 2017 had 28 days
|
long year=2017, month=2, day=29, hour=0, min=0, sec=0; // Feb 2017 had 28 days
|
||||||
long year1, month1, day1, hour1, min1, sec1;
|
long year1, month1, day1, hour1, min1, sec1;
|
||||||
|
|
Loading…
Reference in New Issue