struct TCal::Calendar::HTML::Month

Overview

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.

Defined in:

t_cal/calendar/html.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(start : Date, weeks : Array(Week)) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(start _start = @start, weeks _weeks = @weeks) #

[View source]
def start : Date #

def title : String #

[View source]
def weeks : Array(Week) #