struct TCal::Calendar::HTML::Week

Overview

Represents a week within a Month. Events are split on week boundaries to enable the use of CSS grids for visual layout, so they are specified here.

Defined in:

t_cal/calendar/html.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(days : Tuple(Date, Date, Date, Date, Date, Date, Date), events : Array(Event)) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(days _days = @days, events _events = @events) #

[View source]
def days : Tuple(Date, Date, Date, Date, Date, Date, Date) #

def events : Array(Event) #