本文へ移動

@eightkk/vue-weave / core / MsProjectCalendar

Interface: MsProjectCalendar ​

Defined in: src/core/interchangeMsProject.ts:56

A calendar of a Microsoft Project plan: a weekly pattern with date exceptions, as WorkWeek of buildWorkPeriods holds it. Shift minutes are local wall-clock times.

Properties ​

base? ​

optional base?: boolean

Defined in: src/core/interchangeMsProject.ts:61

Read from IsBaseCalendar. toMsProjectXml ignores it and writes every calendar as a base calendar.


baseCalendarId? ​

optional baseCalendarId?: string

Defined in: src/core/interchangeMsProject.ts:63

The ID of the calendar this one was derived from (BaseCalendarUID). Informational: week is already complete.


id ​

id: string

Defined in: src/core/interchangeMsProject.ts:58

Unique within the project. toMsProjectXml numbers calendars from 1 in input order and does not write this ID.


name ​

name: string

Defined in: src/core/interchangeMsProject.ts:59


week ​

week: WorkWeek

Defined in: src/core/interchangeMsProject.ts:69

The complete weekly pattern and exceptions, with everything inherited from the base calendar already applied. A weekday without shifts is non-working. toMsProjectXml writes only weekly and exceptions: utcOffsetMinutes and timeZone are ignored (MSPDI times are wall-clock times), and a shift that ends after minute 1440 throws a RangeError.

MIT ライセンスで公開しています。