月末締め日情報
month_end_infoGet the month-end date and the effective closing date, adjusting for weekends and holidays. Ideal for Japanese business day calculations.
Instructions
指定月の月末日と、月末が休日の場合に前倒しした実質的な締め日を返します。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| yearMonth | Yes | 対象の年月 (YYYY-MM形式、例: 2026-08) | |
| 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"] |