(date: Date, timeframe: Timeframe)
| 210 | } |
| 211 | |
| 212 | function isWithinTimeframe(date: Date, timeframe: Timeframe): boolean { |
| 213 | return new Date(timeframe.start) <= date && new Date(timeframe.end) >= date |
| 214 | } |
no outgoing calls
no test coverage detected