営業日数カウント
count_business_daysCount business days between two dates (inclusive), with options to set weekend days and custom holidays.
Instructions
2つの日付の間(両端を含む)の営業日数を数えます。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | ||
| startDate | Yes | 日付 (YYYY-MM-DD形式、例: 2026-08-15) | |
| weekendDays | No | 休みとする曜日の配列 (0=日,1=月,2=火,3=水,4=木,5=金,6=土)。省略時は土日([0,6]) | |
| customHolidays | No | 会社独自の休業日 (YYYY-MM-DD形式の配列)。例: 年末年始 ["2026-12-29","2026-12-30","2026-12-31","2027-01-01","2027-01-02","2027-01-03"] |