BloombergLP::bdlt::TimeTz::TimeTz

Create a TimeTz object whose local time and offset attributes have the specified localTime and offset values respectively. The behavior is undefined unless offset is in the range ( -1440 .. 1440 ), and offset is 0 if localTime has the value 24:00:00.000. Note that this method provides no validation, and it is the user's responsibility to ensure that offset represents a valid time zone and that localTime represents a valid time in that time zone.

Synopsis

Declared in <bdlt_timetz.h>

TimeTz(
    Time const& localTime,
    int offset);