Day of the week: Difference between revisions

Line 1,052:
def main(args:Array[String]) {
for (year <- 2008 to 2121;
date <- Some(new GregorianCalendar(year, 11Calendar.DECEMBER, 25));
if date.get(Calendar.DAY_OF_WEEK) == Calendar.SUNDAY) {
println(year)
Anonymous user