Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/louis-aime/milesian_calendar_ada

Packages in Ada defining the Milesian calendar, conversion from/to Julian day, from/to julian-gregorian, and giving the phase of the mean moon.
https://github.com/louis-aime/milesian_calendar_ada

calendar calendars date-conversion gregorian julian julian-day milesian moon

Last synced: 4 days ago
JSON representation

Packages in Ada defining the Milesian calendar, conversion from/to Julian day, from/to julian-gregorian, and giving the phase of the mean moon.

Awesome Lists containing this project

README

        

# Milesian_calendar_Ada
Packages in Ada defining the Milesian calendar: conversion from/to Julian day,
from/to julian and gregorian calendars,
key figures for each year, phase of the mean moon, date of Easter.

Detailed specifications of package elements are given in .ads files.
# Main programs
## milesian_converter
A line-mode program. Give a date in Julian, Gregorian or Milesian calendar, or give the Julian day,
obtain the same date in all other calendars, and the Moon phase.
Get also the key figures of a year, including the date of Easter.
## computus_test
Test the difference between Butcher's and Delambre's method,
and the "Milesian" method for computing the date of Easter.
# Packages
## Computus_meeus
Compute the date of Easter following Delambre's and Butcher's methods.
For comparison with the method defined in Julian_calendar.
## Scaliger
Define the Julian day, as defined by Joseph Justus Scaliger,
and define the types and basic operations for date and time computations
over a time span of 148 centuries.
## Scaliger-Ada_conversion
Convert to/from Julian day and Ada time.
## Cycle_computations
Define the integer division with remainder, and the integer division with "ceiling".
These routines facilitate calendar computations.
## milesian_environment
Instantiations of IO packages.
## Milesian_calendar
Definition of the Milesian calendar, with respect to Julian day.
## Julian_calendar
Julian and gregorian calendars with respect to Julian Day,
plus the computation of the date of Easter, with a simplified (but exact) method.
## Lunar_phase_computations
Compute lunar age, lunar residue, and shift between solar and lunar time.