datetime.count_business_days
Count business days between two YYYY-MM-DD dates, including both endpoints and excluding weekends and country holidays (default KR), to calculate working-day spans.
Instructions
start 와 end 사이의 영업일 수 count 를 정수로 센다. 날짜는 YYYY-MM-DD 이고 양 끝 날짜를 포함하며 토·일과 holidays 패키지의 country(기본 KR) 공휴일은 제외한다. end 가 start 보다 앞서거나 구간이 100000일을 넘으면 오류이고, 임시 휴일을 더하는 입력은 없다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| start | Yes | ||
| country | No | KR |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| count | Yes | ||
| trace | Yes | 계산 근거(tool, formula, inputs, steps, output) |