Skip to main content

Class: CalendarMonth

Defined in: src/classes/CalendarMonth.ts:4

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

Constructors

new CalendarMonth()

new CalendarMonth(month, weeks): CalendarMonth

Defined in: src/classes/CalendarMonth.ts:5

Parameters

ParameterType
monthDate
weeksCalendarWeek[]

Returns

CalendarMonth

Properties

date

date: Date

Defined in: src/classes/CalendarMonth.ts:11

The date of the month.


weeks

weeks: CalendarWeek[]

Defined in: src/classes/CalendarMonth.ts:14

The weeks within the month.