|
CelestialCalendar 1.0.0 · unreleased development @ 67a7c4c79a4a4a6aa7e703c9e6f0039ae34bee82
|
Namespaces | |
| namespace | detail |
Functions | |
| auto | equation_of_time (const double jde_tt) -> toolbox::AngleDeg |
| Computes the equation of time E = apparent solar time − mean solar time. | |
| auto | 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 | SECONDS_OF_TIME_PER_DEGREE |
| Seconds of clock time per degree of hour angle. | |
|
inlinenodiscard |
Converts a civil UTC moment to local apparent (true) solar time (真太阳时).
| utc_dt | The date and time, in UTC. |
| longitude | The observer's geographic longitude, positive east. |
| std::invalid_argument | if longitude is not finite or outside [−180°, 180°]; also propagated from calendar::add_seconds when the shifted result falls outside the representable year range. Invalid pre-1972 datetimes are rejected by astro::julian_day::utc_to_jde. |
|
inlinenodiscard |
Computes the equation of time E = apparent solar time − mean solar time.
| jde_tt | The julian ephemeris day number, which is based on TT. |
The wrap matters near the equinoxes, where the apparent right ascension α and the mean longitude L0 can sit on opposite sides of the 0°/360° seam.
|
inlineconstexpr |
Seconds of clock time per degree of hour angle.