RosettaCodeData/Task/Five-weekends/Zkl/five-weekends-2.zkl

4 lines
129 B
Text
Raw Permalink Normal View History

2017-09-23 10:01:46 +02:00
r:=[[(y,m); [1900..2100];
[1..12],{D.daysInMonth(y,m)==31 and 5==D.weekDay(y,m,1)};
{String(y,"-",m)}]];