Return a datum holding the specified datetime‐interval value.

Synopsis

Declared in <bdld_datum.h>

static
Datum
createDatetimeInterval(
    bdlt::DatetimeInterval const& value,
    AllocatorType const& allocator);

Description

Return, by value, a datum holding the specified DatetimeInterval value, using the specified allocator to supply memory (if needed).

Return Value

a datum holding the specified datetime‐interval value

Parameters

Name

Description

value

datetime interval to store

allocator

memory allocator to use

Created with MrDocs