|
|
Line 77: |
Line 77: |
|
| |
|
| November 23: feast of Blessed Miguel Pro, SJ. ''Viva Cristo Re!'' Because the feast of Christ the King always falls between November 20 and 26, Pro's feast is always nearby: 20 21 22 '''23''' 24 25 26. Three times it comes a little after Christ the King, three times a little bit before, and once in a while the two feasts coincide on the 23rd. | | November 23: feast of Blessed Miguel Pro, SJ. ''Viva Cristo Re!'' Because the feast of Christ the King always falls between November 20 and 26, Pro's feast is always nearby: 20 21 22 '''23''' 24 25 26. Three times it comes a little after Christ the King, three times a little bit before, and once in a while the two feasts coincide on the 23rd. |
|
| |
| == The next ten years ==
| |
| <p> </p>
| |
| <html> <!-- 163 lines of code figured out between November 10th and 12th. I learned a lot! -->
| |
| <div id="SundayTable" style="margin-left:4em"></div>
| |
|
| |
| <div id="DebugDiv"></div>
| |
|
| |
| <script type="text/javascript">
| |
|
| |
| //----------------------------------------------------------
| |
| //
| |
| // Global variables
| |
| //
| |
| //
| |
| // 11 elements in each row.
| |
| //
| |
| // First pattern to add to table: PleromaPattern[7] -- Eucharist Prayers
| |
| // Second pattern to add: PleromaPattern[8] -- headings
| |
| const FixedPattern = [
| |
| ["9 Oct","16 Oct","23 Oct","30 Oct", "6 Nov","13 Nov","20 Nov","Sunday" ],
| |
| ["15 Oct","22 Oct","29 Oct", "5 Nov","12 Nov","19 Nov","26 Nov","Monday" ],
| |
| ["14 Oct","21 Oct","28 Oct", "4 Nov","11 Nov","18 Nov","25 Nov","Tuesday" ],
| |
| ["13 Oct","20 Oct","27 Oct", "3 Nov","10 Nov","17 Nov","24 Nov","Wednesday"],
| |
| ["12 Oct","19 Oct","26 Oct", "2 Nov", "9 Nov","16 Nov","23 Nov","Thursday" ],
| |
| ["11 Oct","18 Oct","25 Oct", "1 Nov", "8 Nov","15 Nov","22 Nov","Friday" ],
| |
| ["10 Oct","17 Oct","24 Oct","31 Oct", "7 Nov","14 Nov","21 Nov","Saturday" ]
| |
| ]
| |
| const Headings = [
| |
| [" "," ","P1 – III" , "P2 – IV" , "P3 – I" , "P4 – II", "P5 – III", "P6 – IV", "EP I" ," "],
| |
| ["year","cycle","Week 28","Week 29","Week 39","Week 31","Week 32","Week 33","Christ the King", "Christmas Day"]
| |
| ];
| |
|
| |
| const DerivedArray = [];
| |
|
| |
| var TodayDate = new Date();
| |
| var ThisYear = TodayDate.getFullYear();
| |
| var DbgDv = document.getElementById("DebugDiv");
| |
| var SundayTable = document.getElementById("SundayTable");
| |
| // create elements <table> and a <tbody>
| |
| var tbl = document.createElement("table");
| |
| var tblBody = document.createElement("tbody");
| |
|
| |
|
| |
| //------------------------------------------------
| |
| function DebugLine(msg){
| |
| var tmpstr = DbgDv.innerHTML + "<br>" + msg;
| |
| DbgDv.innerHTML = tmpstr;
| |
| }
| |
|
| |
| //-------------------------------------------
| |
| function CompletePatternFor(aYear){
| |
| var Scaffold = [];
| |
| var XmasStr = "December 25, "+aYear;
| |
| const XmasInYear = new Date(XmasStr);
| |
| var DoWx = XmasInYear.getDay();
| |
| // copy pattern from fixed array to derived array
| |
| Scaffold.push(aYear.toString());
| |
| const cycle = ["A","B","C"];
| |
| // year A = 2023
| |
| firstremainder = aYear % 2023;
| |
| ABCindex = firstremainder % 3;
| |
| Scaffold.push(cycle[ABCindex]);
| |
| for (var j = 0; j<=7; j++) {
| |
| Scaffold.push(FixedPattern[DoWx][j]);
| |
| }
| |
| // console.log(Scaffold);
| |
| DerivedArray.push(Scaffold);
| |
| // console.log(DerivedArray);
| |
| }
| |
|
| |
| //-------------------------------------------
| |
| function MakeHeadings() {
| |
| for (var j = 0; j <= 1; j++) {
| |
| var row = document.createElement("tr");
| |
| for (var k = 0; k <= 9; k++) {
| |
| var cell = document.createElement("td");
| |
| var cellText = document.createTextNode("\u00A0" + Headings[j][k] + "\u00A0");
| |
| cell.appendChild(cellText);
| |
| cell.setAttribute("style", "padding:2.8px 5.6px;");
| |
| if (k <= 1) {
| |
| cell.setAttribute("style", "background:#a2d2ff");
| |
| }
| |
|
| |
| if (1 < k) {
| |
| if (k <= 7) {
| |
| cell.setAttribute("style", "background:#b6e2d3");
| |
| }
| |
| }
| |
| if (k == 8) {
| |
| cell.setAttribute("style", "background:#ffee93");
| |
| }
| |
| if (k == 9) {
| |
| cell.setAttribute("style", "background:#ea9ab2");
| |
| }
| |
| row.appendChild(cell);
| |
| row.setAttribute("align","center");
| |
| row.setAttribute("style","font-weight:bold; background:#EAECF0;");
| |
| }
| |
| tblBody.appendChild(row);
| |
| }
| |
| }
| |
|
| |
| //-------------------------------------------
| |
| function AddDataRows(){
| |
| for (var j = 0; j <= 9; j++) {
| |
| var row = document.createElement("tr");
| |
| for (var k = 0; k <= 9; k++) {
| |
| var cell = document.createElement("td");
| |
| var cellText = document.createTextNode(DerivedArray[j][k]);
| |
| cell.appendChild(cellText);
| |
| cell.setAttribute("style", "padding:2.8px 5.6px;");
| |
| if (1 < k) {
| |
| if (k <= 7) {
| |
| cell.setAttribute("style", "background:#c6e2e9");
| |
| }
| |
| }
| |
| if (k <= 1) {
| |
| cell.setAttribute("style", "background:#bde0fe");
| |
| }
| |
| if (k == 8) {
| |
| cell.setAttribute("style", "background:#fffacd");
| |
| }
| |
| if (k == 9) {
| |
| cell.setAttribute("style", "background:#eac4d5");
| |
| }
| |
| row.appendChild(cell);
| |
| }
| |
| row.setAttribute("align","center");
| |
| row.setAttribute("style","background:#F8F9FA");
| |
| tblBody.appendChild(row);
| |
| }
| |
| // console.log(row);
| |
| }
| |
|
| |
| //-------------------------------------------
| |
| function CreateSundayTable() {
| |
| MakeHeadings();
| |
| AddDataRows();
| |
| // append the <tbody> inside the <table>
| |
| tbl.appendChild(tblBody);
| |
| // put <table> in the <body>
| |
| SundayTable.appendChild(tbl);
| |
| tbl.setAttribute("border", "1");
| |
| tbl.setAttribute("style", "padding:5px; border-collapse:collapse; border-spacing:0px; border-width:1px")
| |
| }
| |
|
| |
| //------------------------- Main script -----------------------------------
| |
| //
| |
|
| |
| // Calculate three vital pieces of information: year, cycle, Xmas DoW
| |
|
| |
| //
| |
| //
| |
|
| |
| for (var x = 0; x <= 9; x++){
| |
| var SetYear = ThisYear + x;
| |
| CompletePatternFor(SetYear);
| |
| }
| |
|
| |
| CreateSundayTable();
| |
|
| |
| //
| |
|
| |
| </script>
| |
| </html>
| |
|
| |
|
| [[Category:Pleroma]] | | [[Category:Pleroma]] |
Seven patterns for Six Sundays
Six days of Creation.
Forty-two days.
All Saints, All Souls, and the feast of St. Martin of Tours are always in Pleroma. "A San Martino, castagne e vino, e ogni mosto diventa vino!"
P1
|
Xt King
|
Advent I
|
Christmas Day
|
9 Oct
|
20 Nov
|
27 Nov
|
Sunday
|
15 Oct
|
26 Nov
|
3 Dec
|
Monday
|
14 Oct
|
25 Nov
|
2 Dec
|
Tuesday
|
13 Oct
|
24 Nov
|
1 Dec
|
Wednesday
|
12 Oct
|
23 Nov
|
30 Nov
|
Thursday
|
11 Oct
|
22 Nov
|
29 Nov
|
Friday
|
10 Oct
|
21 Nov
|
28 Nov
|
Saturday
|
Christmas can fall on any day of the week. The other feasts are all Sundays.
Pleroma begins between October 9 and 15.
Christ the King falls between November 20 to 26. Never in December.
Advent begins between November 28 and December 3.
There are 42 days in Pleroma. Six weeks with seven days per week. The season is always 42 days long because it begins on a Sunday and ends the day before Christ the King, which is always on a Sunday.
There are Seven Days of Christ the King between Pleroma and Advent. Hmm. The Last Days of Ordinary Time.
In the spirit of Septuagesima, Sexagesima, Quinquagesima, and Quadragesima Sundays.
Not-so-ordinary time.
November 23: feast of Blessed Miguel Pro, SJ. Viva Cristo Re! Because the feast of Christ the King always falls between November 20 and 26, Pro's feast is always nearby: 20 21 22 23 24 25 26. Three times it comes a little after Christ the King, three times a little bit before, and once in a while the two feasts coincide on the 23rd.