CelestialCalendar 1.0.0 · unreleased development @ 67a7c4c79a4a4a6aa7e703c9e6f0039ae34bee82
Loading...
Searching...
No Matches
solar_time.hpp File Reference
#include <cmath>
#include <format>
#include <stdexcept>
#include "toolbox.hpp"
#include "sun.hpp"
#include "earth.hpp"
#include "julian_day.hpp"
#include "geolocation.hpp"
#include "datetime.hpp"

Namespaces

namespace  astro
namespace  astro::solar_time
namespace  astro::solar_time::detail

Functions

constexpr auto astro::solar_time::detail::sun_mean_longitude (const double jde_tt) -> toolbox::AngleDeg
 Computes the Sun's mean longitude L0, referred to the mean equinox of the date.
auto astro::solar_time::equation_of_time (const double jde_tt) -> toolbox::AngleDeg
 Computes the equation of time E = apparent solar time − mean solar time.
auto astro::solar_time::apparent (const calendar::Datetime &utc_dt, const toolbox::AngleDeg &longitude) -> calendar::Datetime
 Converts a civil UTC moment to local apparent (true) solar time (真太阳时).

Variables

constexpr double astro::solar_time::SECONDS_OF_TIME_PER_DEGREE
 Seconds of clock time per degree of hour angle.