public long getMoonRiseSet(boolean rise)
    {
        return riseOrSet(new CoordFunc() {
                            @Override
                            public Equatorial eval() { return getMoonPosition(); }
                         },
                         rise,
                         .533 * DEG_RAD,        // Angular Diameter
                         34 /60.0 * DEG_RAD,    // Refraction correction
                         MINUTE_MS);            // Desired accuracy
    }
public long getMoonRiseSet ( boolean rise ) { return riseOrSet ( new CoordFunc ( ) { @ Override public Equatorial eval ( ) { return getMoonPosition ( ) ; } } , rise , .533 * DEG_RAD , 34 / 60.0 * DEG_RAD , MINUTE_MS ) ; }
Returns the time (GMT) of sunrise or sunset on the local date to which
this calendar is currently set.
@hide draft / provisional / internal are hidden on Android