Schedule ({weekday, periods})
Tipo do argumento
{
weekday: number,
periods: IPeriod[]
}
e tem as seguintes interfaces:
interface IPeriod {
startAt: Date;
endAt: Date;
discipline: Discipline;
}
Atributos
private weekday: number;
private periods: IPeriod[];
Métodos
Público
public setWeekday (weekday: number): void
public getWeekday (): number