Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/louis-aime/milesian_calendar_ada
- Owner: Louis-Aime
- License: mit
- Created: 2017-08-07T22:09:15.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-12-21T10:18:33.000Z (almost 5 years ago)
- Last Synced: 2024-06-19T16:41:31.280Z (5 months ago)
- Topics: calendar, calendars, date-conversion, gregorian, julian, julian-day, milesian, moon
- Language: Ada
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.