function coveredDays
coveredDays(
date: string | null,
endDate: string | null,
): string[]

Every YYYY-MM-DD day a stored [date, endDate) booking covers. The end is exclusive, and a booking with no end recorded covers only the day it starts.

Parameters

date: string | null
endDate: string | null

Return Type

string[]

Usage

import { coveredDays } from "doc.ts";