Skip to main content

Class: CalendarWeek

Represent a week in a calendar month.

Constructors​

new CalendarWeek()​

new CalendarWeek(weekNumber, days): CalendarWeek

Parameters​

ParameterType
weekNumbernumber
daysCalendarDay[]

Returns​

CalendarWeek

Defined in​

src/classes/CalendarWeek.ts:5

Properties​

days​

days: CalendarDay[]

The days within the week.

Defined in​

src/classes/CalendarWeek.ts:12


weekNumber​

weekNumber: number

The number of the week within the year.

Defined in​

src/classes/CalendarWeek.ts:10