openworkdays

v0.1.0
io.github.SolvoHQ/openworkdays Checked 5 hours ago Published 6 months ago

Zero-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.

ParameterTypeDescription
datestringDate YYYY-MM-DD to test (is mode)
daysintegerBusiness days to add (add mode); negative subtracts
endstringEnd date YYYY-MM-DD (diff mode)
holidaysstringComma list of YYYY-MM-DD dates treated as non-working
startstringStart date YYYY-MM-DD (add & diff modes)
weekendstringComma list of weekend days, e.g. "sat,sun" (default sat,sun)