Set the local datetime and the time zone offset of this object to the specified localDatetime and offset values respectively. The behavior is undefined unless all of the specified values are within their valid ranges (see isValid). Note that this method provides no validation, and it is the user's responsibility to assure the consistency of the resulting value.

Synopsis

Declared in <bdlt_datetimetz.h>

void
setDatetimeTz(
    Datetime const& localDatetime,
    int offset);

Created with MrDocs