( timestamp: Timestamp, )
| 52 | * @param {Timestamp} timestamp |
| 53 | */ |
| 54 | export const intervalForTimestamp = ( |
| 55 | timestamp: Timestamp, |
| 56 | ): TemporalInterval<ClosedTemporalBound, ClosedTemporalBound> => { |
| 57 | return { |
| 58 | start: { |
| 59 | kind: "inclusive", |
| 60 | limit: timestamp, |
| 61 | }, |
| 62 | end: { |
| 63 | kind: "inclusive", |
| 64 | limit: timestamp, |
| 65 | }, |
| 66 | }; |
| 67 | }; |
| 68 | |
| 69 | /** |
| 70 | * Checks whether two given {@link TimeInterval}s are adjacent to one another, where adjacency is defined as |
no outgoing calls
no test coverage detected