BloombergLP::bdlt::TimeTz::setTimeTz

Set the local time and time zone offset attributes of this object to the specified localTime and offset values respectively. The behavior is undefined unless offset is in the range ( -1440 .. 1440 ). 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_timetz.h>

void
setTimeTz(
    Time const& localTime,
    int offset);