Schedule ({weekday, periods})

Argument type

{
  weekday: number,
  periods: IPeriod[]
}

and has the following interface:


interface IPeriod {
  startAt: Date;
  endAt: Date;
  discipline: Discipline;
}

Attributes

private weekday: number;
private periods: IPeriod[];

Methods

Public

  • public setWeekday (weekday: number): void
  • public getWeekday (): number

results matching ""

    No results matching ""