BloombergLP::bdld::Datum::createDatetimeInterval

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

NameDescription
valuedatetime interval to store
allocatormemory allocator to use