class SolCal::Commands::AppLongitudeCommand

Protected Instance Methods

do_execute() click to toggle source
# File lib/solcal/commands/app_longitude_command.rb, line 5
def do_execute
        Angle.from_deg(true_longitude.to_deg-0.00569-0.00478*Math.sin(Angle.from_deg(125.04-1934.136*julian_century).to_rad))
end