apparentLongitude function

double apparentLongitude(
  1. double t
)

Apparent longitude of the Sun (includes nutation and aberration).

t is centuries from J2000.

Implementation

double apparentLongitude(double t) {
  final omega = _node(t);
  final sun = trueSun(t);
  return sun.lon - toRad(0.00569) - toRad(0.00478) * math.sin(omega);
}