Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 884 Bytes

File metadata and controls

20 lines (12 loc) · 884 Bytes

Intervals date calculator

A utility to calculate date ranges written in Swift.

What's new

Two App Intents

  1. Calculate End Date — adds an amount of days/weeks/months/years to a start date; returns the resulting date.

  2. Calculate Duration — returns the number of days (plus weeks / work days / non-working days) between two dates.

Both return values so they chain into other Shortcuts actions, and provide spoken/printed dialog.

App Shortcuts — an AppShortcutsProvider surfaces both actions automatically with spoken phrases (e.g. "Calculate end date with Intervals").