Holidays related to Easter: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 2,146: Line 2,146:
=={{header|FutureBasic}}==
=={{header|FutureBasic}}==
This code outputs a complete Mac application showing the Julian Easter dates from 532 to 1582 and Gregorian Easter dates thereafter, without regard to historical niceties. The Gregorian rule has no set limits, but we went up to the year 10,000,000 (note that Gregorian Easter dates repeat every 5,700,000 years, so Easter 5702023 is on the same date as Easter 2023). Calculating other moveable feasts is trivial.
This code outputs a complete Mac application showing the Julian Easter dates from 532 to 1582 and Gregorian Easter dates thereafter, without regard to historical niceties. The Gregorian rule has no set limits, but we went up to the year 10,000,000 (note that Gregorian Easter dates repeat every 5,700,000 years, so Easter 5702023 is on the same date as Easter 2023). Calculating other moveable feasts is trivial.
<syntaxhighlight>
<syntaxhighlight lang=futurebasic>


begin enum 1
begin enum 1
Line 2,229: Line 2,229:
handleevents
handleevents
</syntaxhighlight>
</syntaxhighlight>
{{output}}
<pre>
[[File:Easter.jpg]]


</pre>


=={{header|Go}}==
=={{header|Go}}==