toLmst method
toLmst() Calculate Local Mean Sidereal Time for given longitude (for this date). The longitude is assumed to be in radians measured west from Greenwich. The return value is the angle, in radians, measuring eastward from the Vernal Equinox to the given longitude.
Implementation
double toLmst(double lon) {
return (toGmst() + lon).remainder(TWOPI);
}