BloombergLP::bdlt::Datetime::setDatetime

Set this object to the specified date and time.

Synopsis

Declared in <bdlt_datetime.h>

void
setDatetime(
    Date const& date,
    Time const& time);

Description

Set the value of this object to a Datetime whose "date" part has the value represented by the specified date, and whose "time" part has the value represented by the specified time.

Parameters

NameDescription
datedate part to set
timetime part to set