Skip to content

Documentation


Documentation / @kizami/engine / VariablePeriodSummary

Interface: VariablePeriodSummary

Defined in: types.ts:413

monthly_variable の変形期間サマリ(docs/design/shift-work.md 決定事項3)。

periodStartperiodEndperiodStartDay 起点の1ヶ月(月をまたぐ)。この期間の 終了日が属する月の締めでのみ periodOvertimeMinutesEngineOutput.totals.overtime に加算される(attributedToThisMonth: true)。期間が完結していなければ(monthly_variable 採用直後で完結した前期間が存在しない等)計算自体は返すが加算しない — 「判断される事実が発生した日」の原則(v01-data-model.md)の適用。

Properties

attributedToThisMonth

attributedToThisMonth: boolean

Defined in: types.ts:425

true のときのみ periodOvertimeMinutes が totals.overtime に加算されている


periodEnd

periodEnd: string

Defined in: types.ts:415


periodOvertimeMinutes

periodOvertimeMinutes: number

Defined in: types.ts:423

期間の実労働合計 −(①②で時間外にした分)− statutoryFrameMinutes の正の部分


periodStart

periodStart: string

Defined in: types.ts:414


scheduledTotalMinutes

scheduledTotalMinutes: number

Defined in: types.ts:419

期間全体のシフト所定合計(分)


statutoryFrameMinutes

statutoryFrameMinutes: number

Defined in: types.ts:417

floor(週法定労働時間 × 期間の暦日数 / 7)。flex.ts の月枠と同じ日割り按分


workedTotalMinutes

workedTotalMinutes: number

Defined in: types.ts:421

期間全体の実労働合計(分、法定休日労働を除く)