Calendar (months)
This class is used to store the academic calendar.
Argument type
months: IMonth[];
Attributes
private months: IMonth[];
Where IMonth
:
interface IMonth {
events: IEvent[];
}
Where IEvent
:
interface IEvent {
date: Date;
name: string;
reason: string;
}
Methods
Public
public setMonths (months: IMonth[])
public getMonths (): IMonth[]