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.
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.
Test the difference between Butcher's and Delambre's method, and the "Milesian" method for computing the date of Easter.
Compute the date of Easter following Delambre's and Butcher's methods. For comparison with the method defined in Julian_calendar.
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.
Convert to/from Julian day and Ada time.
Define the integer division with remainder, and the integer division with "ceiling". These routines facilitate calendar computations.
Instantiations of IO packages.
Definition of the Milesian calendar, with respect to Julian day.
Julian and gregorian calendars with respect to Julian Day, plus the computation of the date of Easter, with a simplified (but exact) method.
Compute lunar age, lunar residue, and shift between solar and lunar time.