Day of the week of Christmas and New Year: Difference between revisions

m
→‎{{header|Wren}}: Changed to Wren S/H
(added RPL)
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 1,081:
 
The above module uses the Gregorian Proleptic calendar and therefore gives the wrong days of the week for 1578 as the earliest year for the adoption of the Gregorian calendar was 1582 when 10 days (from 5th until 14th October inclusive) were omitted. To get the correct days for 1578 (and agree with the Ruby entry) we therefore need to add 10 days to the Gregorian date which the ''Date.fromJulian'' method does automatically.
<syntaxhighlight lang="ecmascriptwren">import "./date" for Date
 
System.print("Days of week per Gregorian Proleptic calendar:")
9,479

edits