Check dates
check_datesFor each date, tell whether it is a public holiday in the country (with its name and status), a weekend, and a business day, including make-up working days such as China's 调休. Also returns today in that country's time zone. For Japan, the kind is also given: 祝日 (national holiday) / 振替休日 (substitute holiday) / 国民の休日 (citizens' holiday).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dates | Yes | ||
| region | No | Outside Japan: state/province code (ISO 3166-2 suffix, e.g. CA for California) to include regional holidays. | |
| country | No | ISO 3166-1 alpha-2 country code (e.g. US, GB, DE, CN, JP). Defaults to JP (Japan) when omitted. | JP |
| year_end_closed | No | Japan only: treat 12/29-1/3 as non-business days (common in Japanese companies). | |
| include_government | No | Outside Japan: also treat days off only for government offices (e.g. Indonesia's cuti bersama, Canadian federal holidays) as days off. |