Sundays of Pleroma: Difference between revisions
Jump to navigation
Jump to search
Line 105: | Line 105: | ||
var ReturnStr; | var ReturnStr; | ||
const TableLines = []; | const TableLines = []; | ||
TableLines["TopRows"] = "{| | TableLines["TopRows"] = "{|<br>|-<br>!III<br>|-<br>! Week 28<br>"; | ||
TableLines["EndTable"] = "|} | TableLines["EndTable"] = "|}<br><br>"; | ||
ReturnStr = TableLines["TopRows"] + TableLines["EndTable"]; | ReturnStr = TableLines["TopRows"] + TableLines["EndTable"]; | ||
return ReturnStr; | return ReturnStr; |
Revision as of 09:07, 10 November 2024
Seven patterns
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 |
Next ten years
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)