BloombergLP::bdlt::DateTz::DateTz

Create a DateTz object having a local date value equal to the specified localDate and a time zone offset value from UTC equal to the specified offset (in minutes). 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 ensure that offset represents a valid time zone and that localDate represents a valid date in that time zone.

Synopsis

Declared in <bdlt_datetz.h>

DateTz(
    Date const& localDate,
    int offset);