Top Documents Download Gallery Repository
Are you looking for a Software Engineer? Check Here

11calendar Module

The calendar module provides a function to generate a string of calendar for the specified year.

Below is an example to print a calendar for the year 2015.

println(calendar.calendar(2015))

11.1Module Function

calendar.calendar
calendar.calendar(year:number, weekoffset:number => 0, ncols:number => 3)
Prints calendars of a specified year. The argument weekoffset specifies from which week the calendar starts, 0 from Sunday, 1 from Monday, and so on. The argument ncols specifies how many months are printed in one row.


Copyright (C) 2011-2017 ypsitau