Open bjuppa opened 1 year ago
isInPeriod(start: Date)(end: Date)(instant: Date): boolean
Sort start & end, apply closed start & open ending.
If we apply closed start and open ending to the period, shouldn't we honor that for a "reverse" period too (when start is after end)? 🤔
isInPeriod(start: Date)(end: Date)(instant: Date): boolean
Sort start & end, apply closed start & open ending.