231 |
// 1582 A.D.: 10 days removed from calendar |
// 1582 A.D.: 10 days removed from calendar |
232 |
// 3000 A.D.: Arbitrary error checking limit |
// 3000 A.D.: Arbitrary error checking limit |
233 |
assert((year > 1582) && (year < 3000)); |
assert((year > 1582) && (year < 3000)); |
234 |
assert((day >= 0.0) && (day <= 366.7)); // 366.5 |
assert((day >= 0.0) && (day <= 366.90)); // 366.5 // 366.7 // 366.81 |
235 |
|
|
236 |
// Now calculate Julian date |
// Now calculate Julian date |
237 |
|
|
1433 |
double cc = c1ss; |
double cc = c1ss; |
1434 |
double zn = zns; |
double zn = zns; |
1435 |
double ze = zes; |
double ze = zes; |
1436 |
double zmo = dp_zmos; |
// double zmo = dp_zmos; |
1437 |
double xnoi = 1.0 / m_xnodp; |
double xnoi = 1.0 / m_xnodp; |
1438 |
|
|
1439 |
double a1; double a3; double a7; double a8; double a9; double a10; |
double a1; double a3; double a7; double a8; double a9; double a10; |
1545 |
zn = znl; |
zn = znl; |
1546 |
cc = c1l; |
cc = c1l; |
1547 |
ze = zel; |
ze = zel; |
1548 |
zmo = dp_zmol; |
// zmo = dp_zmol; |
1549 |
} |
} |
1550 |
} |
} |
1551 |
|
|