N営業日後/前の日付を計算
add_business_daysAdd or subtract business days from a specified date, considering weekends and custom holidays, to compute the target date.
Instructions
指定日から N 営業日後(Nが負の場合はN営業日前)の日付を返します。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | 日付 (YYYY-MM-DD形式、例: 2026-08-15) | |
| weekendDays | No | 休みとする曜日の配列 (0=日,1=月,2=火,3=水,4=木,5=金,6=土)。省略時は土日([0,6]) | |
| businessDays | Yes | 加算する営業日数。負の数を指定するとN営業日前になります | |
| customHolidays | No | 会社独自の休業日 (YYYY-MM-DD形式の配列)。例: 年末年始 ["2026-12-29","2026-12-30","2026-12-31","2027-01-01","2027-01-02","2027-01-03"] |