makeInterval creates an interval from start and end nanoseconds.
(startNano, endNano int64)
| 328 | |
| 329 | // makeInterval creates an interval from start and end nanoseconds. |
| 330 | func makeTestInterval(startNano, endNano int64) ast.Interval { |
| 331 | return ast.NewInterval( |
| 332 | ast.TemporalBound{Type: ast.TimestampBound, Timestamp: startNano}, |
| 333 | ast.TemporalBound{Type: ast.TimestampBound, Timestamp: endNano}, |
| 334 | ) |
| 335 | } |
no test coverage detected