* Get tasks for a specific date from due and scheduled indexes.
(date: string)
| 714 | * Get tasks for a specific date from due and scheduled indexes. |
| 715 | */ |
| 716 | getTasksForDate(date: string): string[] { |
| 717 | const targetDate = getDatePart(date); |
| 718 | this.ensureFilterIndexes(); |
| 719 | return Array.from( |
| 720 | new Set([ |
| 721 | ...(this.scheduledDateIndex.get(targetDate) ?? []), |
| 722 | ...(this.dueDateIndex.get(targetDate) ?? []), |
| 723 | ]) |
| 724 | ); |
| 725 | } |
| 726 | |
| 727 | getTaskPathsForDateRange( |
| 728 | property: DateIndexProperty, |
no test coverage detected