Class: CalendarMonth
Defined in: src/classes/CalendarMonth.ts:9
Represents a month in a calendar year.
A CalendarMonth contains the weeks within the month and the date of the
month.
Constructors
Constructor
new CalendarMonth(
month,weeks):CalendarMonth
Defined in: src/classes/CalendarMonth.ts:10
Parameters
| Parameter | Type |
|---|---|
month | Date |
weeks | CalendarWeek[] |
Returns
CalendarMonth
Properties
date
date:
Date
Defined in: src/classes/CalendarMonth.ts:16
The date representing the first day of the month.
weeks
weeks:
CalendarWeek[]
Defined in: src/classes/CalendarMonth.ts:19
The weeks that belong to this month.