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

m
Line 311:
 
=={{header|Ruby}}==
This uses the same years as the Raku example. The Ruby date class does however take the calendar reform (default 1582) into account, so the days for 1578 differ from all other languages so far.
<lang ruby>require 'date'
 
Line 333:
In 2393, New year's day is on a Friday, and Christmas day on Saturday.
</pre>
 
=={{header|Wren}}==
{{libheader|Wren-date}}
1,149

edits