struct

TCal::Calendar::HTML::Month

Inherits Struct < Value < Object

Represents a view of all weeks in a month. start is the first day of the month. The view is assumed to be a rectangular grid, so it may also include days that are not part of the month.

Constructors

new(start : Date, weeks : Array(Week))
Source

Instance methods

clone
Source
copy_with(start _start = @start, weeks _weeks = @weeks)
Source
start
title

Produces a title for the month view, e.g. "December 2022".

Source
weeks