(a: Date, b: Date)
| 104 | } |
| 105 | |
| 106 | function isSameDay(a: Date, b: Date): boolean { |
| 107 | return ( |
| 108 | a.getFullYear() === b.getFullYear() && |
| 109 | a.getMonth() === b.getMonth() && |
| 110 | a.getDate() === b.getDate() |
| 111 | ) |
| 112 | } |
| 113 | |
| 114 | function isStrictlyWithin(date: Date, start: Date, end: Date): boolean { |
| 115 | const time = date.getTime() |
no outgoing calls
no test coverage detected