Skip to content

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

License

Notifications You must be signed in to change notification settings

Louis-Aime/Milesian_calendar_Ada

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages