Constructs `Opaque(Timestamp, Integer(ms))`.
(heap: &Heap, ms: i128)
| 22 | |
| 23 | /// Constructs `Opaque(Timestamp, Integer(ms))`. |
| 24 | fn timestamp_value(heap: &Heap, ms: i128) -> Value<'_, &Heap> { |
| 25 | Value::Opaque(value::Opaque::new( |
| 26 | sym::path::Timestamp, |
| 27 | Rc::new_in(Value::Integer(value::Int::from(ms)), heap), |
| 28 | )) |
| 29 | } |
| 30 | |
| 31 | /// Constructs `Opaque(UnboundedTemporalBound, Unit)`. |
| 32 | fn unbounded_bound(heap: &Heap) -> Value<'_, &Heap> { |
no test coverage detected