Skip to main content

Class: CalendarMonth

Represent a month in a calendar year. Contains the weeks within the month.

Constructors​

new CalendarMonth()​

new CalendarMonth(month, weeks): CalendarMonth

Parameters​

ParameterType
monthDate
weeksCalendarWeek[]

Returns​

CalendarMonth

Defined in​

src/classes/CalendarMonth.ts:5

Properties​

date​

date: Date

The date of the month.

Defined in​

src/classes/CalendarMonth.ts:11


weeks​

weeks: CalendarWeek[]

The weeks within the month.

Defined in​

src/classes/CalendarMonth.ts:14