Skip to content
1 min read · 117 words

@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

VariableDescription
dateBusinessDaysToolCount business days between two dates, or compute the date N business days away.
dateCalendarInfoToolGet calendar metadata for a date.
dateNthWeekdayToolFind the Nth occurrence of a weekday in a given month.
dateParseToolParse a date/time expression from natural language or common formats.
datePeriodToolGet the start or end of a time period containing a given date.