Return a datum holding the specified datetime-interval value.
Declared in <bdld_datum.h>
static
Datum
createDatetimeInterval(
bdlt::DatetimeInterval const& value,
AllocatorType const& allocator);
Return, by value, a datum holding the specified DatetimeInterval value, using the specified allocator to supply memory (if needed).
a datum holding the specified datetime-interval value
| Name | Description |
|---|---|
| value | datetime interval to store |
| allocator | memory allocator to use |