openworkdays
v0.1.0Zero-signup business-day date-math API: add days, count days between dates, is-business-day.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
businessdays
Business-day date math. Three modes inferred from params: add (start+days -> the date N business days away, negative days = before), diff (start+end -> count of business days between, inclusive of both endpoints), is (date -> is it a business day). Optional weekend (default sat,sun) and holidays (comma list of YYYY-MM-DD you supply). No signup, no API key. Pure UTC date-only math; no time-of-day/DST/timezone.
| Parameter | Type | Description |
|---|---|---|
date | string | Date YYYY-MM-DD to test (is mode) |
days | integer | Business days to add (add mode); negative subtracts |
end | string | End date YYYY-MM-DD (diff mode) |
holidays | string | Comma list of YYYY-MM-DD dates treated as non-working |
start | string | Start date YYYY-MM-DD (add & diff modes) |
weekend | string | Comma list of weekend days, e.g. "sat,sun" (default sat,sun) |