(j)
| 11 | const earthRadius = 6378.14; // equatorial radius in km, for the Moon's topocentric parallax |
| 12 | |
| 13 | function fromJulian(j) { |
| 14 | return new Date((j + 0.5 - J1970) * dayMs); |
| 15 | } |
| 16 | function toDays(date) { |
| 17 | return date.valueOf() / dayMs - 0.5 + J1970 - J2000; |
| 18 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…