Class: CalendarWeek
Defined in: src/classes/CalendarWeek.ts:8
Represents a week in a calendar month.
A CalendarWeek
contains the days within the week and the week number.
Constructors
Constructor
new CalendarWeek(
weekNumber
,days
):CalendarWeek
Defined in: src/classes/CalendarWeek.ts:9
Parameters
Parameter | Type |
---|---|
weekNumber | number |
days | CalendarDay [] |
Returns
CalendarWeek
Properties
days
days:
CalendarDay
[]
Defined in: src/classes/CalendarWeek.ts:18
The days that belong to this week.
weekNumber
weekNumber:
number
Defined in: src/classes/CalendarWeek.ts:15
The number of the week within the year.