public long getSunTime ( double desired , boolean next ) { return timeOfAngle ( new AngleFunc ( ) { @ Override public double eval ( ) { return getSunLongitude ( ) ; } } , desired , TROPICAL_YEAR , MINUTE_MS , next ) ; }
Find the next time at which the sun s ecliptic longitude will have the desired value .