sunrise function

double sunrise(
  1. Ecliptic cOnMoon,
  2. double jde,
  3. Planet earth
)

Time of sunrise for a point on the Moon near the given jde.

Implementation

double sunrise(Ecliptic cOnMoon, double jde, Planet earth) {
  jde -= _srCorr(cOnMoon, jde, earth);
  return jde - _srCorr(cOnMoon, jde, earth);
}