date — add

1 utility function over date, each with a published contract: a signature, property-based invariants, and every edge case named and settled. The source is copied into your project.

[toopo](../../)

- [How we verify](../../method/)
- [What we refuse](../../refused/)

typescript / date

# date

This domain publishes 1 contract, settling 43 named edge cases. Taking it puts 7 075 bytes of TypeScript in your project, and it imports nothing.

- ## [add](../../typescript/date/add@1/)

  Add a duration to a Date and get a new Date back, in UTC, without mutating the input, or null when the call cannot be answered exactly - with a named reason available beside it for a caller who needs to know which refusal it was.

  43 settled cases · 7 075 bytes · no imports

  npx toopo add date/add

date · 1 contract

- [add](../../typescript/date/add@1/)

Domains

- [number](../../typescript/number/)
- date
- [string](../../typescript/string/)
