@nhtio/adk/batteries/tools/datetime_extended
Pre-constructed tools for parsing natural-language dates and business-calendar calculations.
Remarks
Pre-constructed bundled tools for the datetime_extended category. Import individually, the whole category, or import every tool via @nhtio/adk/batteries.
Variables
| Variable | Description |
|---|---|
| dateBusinessDaysTool | Count business days between two dates, or compute the date N business days away. |
| dateCalendarInfoTool | Get calendar metadata for a date. |
| dateNthWeekdayTool | Find the Nth occurrence of a weekday in a given month. |
| dateParseTool | Parse a date/time expression from natural language or common formats. |
| datePeriodTool | Get the start or end of a time period containing a given date. |