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

Name

Description

date

date part to set

time

time part to set

Created with MrDocs