erfasrc/src/cal2jd.c | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 16 | 56.2 |
line | true | false | branch |
---|---|---|---|
65 | 9 | 0 | if (iy < IYMIN) return -1; |
66 | 9 | 0 | if (im < 1 || im > 12) return -2; |
69 | 2 | 7 | ly = ((im == 2) && !(iy%4) && (iy%100 || !(iy%400))); |
2 | 0 | ly = ((im == 2) && !(iy%4) && (iy%100 || !(iy%400))); | |
2 | 0 | ly = ((im == 2) && !(iy%4) && (iy%100 || !(iy%400))); | |
0 | 2 | ly = ((im == 2) && !(iy%4) && (iy%100 || !(iy%400))); | |
72 | 9 | 0 | if ( (id < 1) || (id > (mtab[im-1] + ly))) j = -3; |
0 | 9 | if ( (id < 1) || (id > (mtab[im-1] + ly))) j = -3; |