
The goal of this project is to give you some experience in working with the package Ada.Calendar and with enumeration types. The project depends upon material in Chapter 3.
Calendar dates are fascinating to study. Different countries use different ways to represent the same date. Of course, the names of the months vary from language to language, but so does the style of displaying the date. Some countries put the month first; others put the day first. Some countries use an Arabic numeral for the month (e.g., April is 4), while others use a Roman numeral (e.g., April is IV). The Roman numerals for 1-12 are I, II, III, IV, V, VI, VII, VIII, IX, X XI, XII.
Find out the names of the months in some human language, other than English, that uses a similar alphabet (German, French, Spanish, etc.). If you don't know any other languages, find a classmate who does.
Then develop a program that will display the current date in several different forms, each on a separate line. Using April 27, 1999 as the example, here are the forms:
27 april 1999 27.IV.1999 4/27/99
Use the foreign-language month names, not the English ones. Use Program 3.6 as an example of how to determine the current date/time from the computers clock, using Ada.Calendar operations.
Use one enumeration type for the month names, and another enumeration type for the Roman numerals in the second example.
Notes: