Team calendar: shared working days and hours across countries
plan_team_calendarWhen a distributed team can actually all work. Joins the two halves no free tool puts together: the weekdays on which NOBODY is on a public holiday (the engine behind compare_public_holidays) and the daily working-hour overlap across the members' time zones (the engine behind find_meeting_slot), evaluated on 15 January and 15 July so daylight-saving asymmetry is visible, and multiplied into conservative shared working hours per year. Members are ISO alpha-2 country codes; each country is placed in the time zone of its representative city, and countries spanning several zones (US, CA, BR, MX, AU, ID) are flagged multiZone — append @IANA/Zone to override (e.g. US@America/Chicago). Covers the 41-country spine EXCEPT India, Thailand, Malaysia, the UAE and Saudi Arabia, which have no published holiday calendar and return NO_DATA naming them rather than a calendar with no holidays. Working-hour windows are a stated assumption (09:00-18:00 local unless given), not a measurement; annual leave is not modelled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Default local working-window end, minutes from midnight (default 1080 = 18:00). | |
| year | No | Calendar year for the holiday calendar. Defaults to the first year in the dataset. | |
| hours | No | Per-member `start-end` overrides, semicolon-separated and aligned with `members`; leave a slot empty to keep the default (e.g. "540-1080;;420-720"). | |
| start | No | Default local working-window start for every member, minutes from midnight (default 540 = 09:00). | |
| members | Yes | Comma-separated ISO alpha-2 codes, two or more, each optionally `CC@IANA/Zone` (e.g. "GB,JP,US@America/Chicago"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| days | No | ||
| year | No | ||
| hours | No | ||
| caveats | No | ||
| members | No | ||
| attribution | No | ||
| sharedWorkingHoursPerYear | No |