Sundays of Pleroma: Difference between revisions

From Cor ad Cor
Jump to navigation Jump to search
No edit summary
 
(92 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Seven patterns ==
[https://moleski.net/cacwiki/index.php?title=Lectionary_for_Pleroma Lectionary for Pleroma]


<p>&nbsp;</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 30","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>
<!--  ============================================== -->
== 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!"
<div style="margin-left:4em">
{| {{Prettytable}}
{| {{Prettytable}}
|-
|-
Line 50: Line 227:


|}
|}
</div>


== Next ten years ==
The date of the last Sunday of Ordinary Time (34th Sunday, Solemnity of Our Lord Jesus Christ, King of the Universe) is determined by the date for the first Sunday of Advent.
 
find the current year
 
find day of the week of Christmas this year
 
create output string
:: start table
:: start line
:: header line one
:: start line
:: header line two
:: start line
 
Call AddLine to output row for one year
 
 
 
repeat nine times
 
: increment year by one
: AddLine(nextYear)
 


<html>
The date for the first Sunday of Advent is the day of the week on which Christmas falls.
<!-- coded this on 2024-11-09 -->
<div id="SundaysTable"></div>


<script type="text/javascript">
Christmas can fall on any day of the week, so there are seven and only seven patterns for the Sundays of Advent and for the date of Christ the King.


function getNumberOfDays() {
:: Pleroma begins between October 9 and 15.
    const date1 = new Date("4/24/1981");
    const date2 = new Date();


    // One day in milliseconds
:: Christ the King falls between November 20 to 26.  It never occurs in December.
    const oneDay = 1000 * 60 * 60 * 24;


    // Calculating the time difference between two dates
:: Advent begins between November 28 and December 3.
    const diffInTime = date2.getTime() - date1.getTime();


    // Calculating the no. of days between two dates
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.
    const diffInDays = Math.round(diffInTime / oneDay);


    return diffInDays;
There are Seven Days of Christ the King between Pleroma and Advent. These are the last days of Ordinary Time.
}


function AddLine(numstr){
The season of Pleroma is in the spirit of Septuagesima, Sexagesima, Quinquagesima, and Quadragesima Sundays.
var NextYear = Number(numstr) + 1;
return "<p><b>"+NextYear.toString()+"</b></p>";
}


function ConstructTable(x){
It is not-so-ordinary time.
var OutputStr;
const TableLines = [];
TableLines["TopRows"] = "{|\n
|-\n
!III\n
|-\n
! Week 28
";
TableLines["EndTable"] = "|}\n\n";
OutputStr = TableLines["TopRows"] + TableLines["EndTable"];
}


var OutputTable = document.getElementById("SundaysTable");
:; November 23: feast of Blessed Miguel Pro, SJ. ''¡Viva Cristo Re!'' 
// var withComma = new String("");
// var totalDays = new String("");
// totalDays = getNumberOfDays();
// totalDays = totalDays.toString();
// withComma = totalDays.substring(0,2) + "," + totalDays.substring(2);


    const TodayDate = new Date();
:: 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.
    var ThisYear = TodayDate.getFullYear();
    var OutputStr = ThisYear;


OutputStr = ConstructTable(0);
:: Blessed Miguel Pro would be the patron saint of Pleroma, if he was a saint and if Pleroma had a patron saint. ''¡Viva Cristo Re!''
OutputTable.innerHTML = OutputStr;
</script>
</html>


[[Category:Pleroma]]
[[Category:Pleroma]]

Latest revision as of 20:11, 16 October 2026

Lectionary for 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

The date of the last Sunday of Ordinary Time (34th Sunday, Solemnity of Our Lord Jesus Christ, King of the Universe) is determined by the date for the first Sunday of Advent.

The date for the first Sunday of Advent is the day of the week on which Christmas falls.

Christmas can fall on any day of the week, so there are seven and only seven patterns for the Sundays of Advent and for the date of Christ the King.

Pleroma begins between October 9 and 15.
Christ the King falls between November 20 to 26. It never occurs 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. These are the last days of Ordinary Time.

The season of Pleroma is in the spirit of Septuagesima, Sexagesima, Quinquagesima, and Quadragesima Sundays.

It is 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.
Blessed Miguel Pro would be the patron saint of Pleroma, if he was a saint and if Pleroma had a patron saint. ¡Viva Cristo Re!