日本語
@eightkk/vue-weave / core / workCalendarsFromMsProject
Function: workCalendarsFromMsProject()
workCalendarsFromMsProject(
project,range):WorkCalendar[]
Defined in: src/core/interchangeMsProject.ts:1191
Turn the calendars of a plan, such as the result of fromMsProjectXml, into WorkCalendars for scheduleTasks and levelResources: buildWorkPeriods(range, calendar.week) for each calendar, with the calendar's id. Pass the project's defaultCalendarId as ScheduleInput.defaultCalendarId and a task's calendarId as ScheduleTask.calendarId. Throws what buildWorkPeriods throws, for example for a range of more than 3,661 days.
Parameters
project
calendars?
readonly MsProjectCalendar[]